mfilename used in ".mlx" does not appear to be the desired path?
4 views (last 30 days)
To get the full path and filename of the run in ".mlx", I used the mfilename function, but the full path of the file returned is not what I want.
How can I fix this please? Thanks in advance
p = mfilename('fullpath')
But using it in the ".m" file is the result I want