I have two classes, Sub and Super, where Sub is a subclass of Super. Both m-files are in the same folder (say /path/to/mydir). I noticed a difference between using open and edit from the command line. If the current directory is /path/to/mydir, then using either
open Sub.m in the editor. However, if the current directory is a different one and /path/to/mydir is on the Path, then
opens Super.m, while
opens Sub.m in the editor. What is the difference between using edit or open for m-files?
If it's relevant, I'm using MATLAB R2014b on Linux.
0 Comments
Sign in to comment.