every time i start matlab r2018b and run a script i got the message "Octave functions should not run on Matlab, Removing path" and the script fails
Show older comments
second run works fine
7 Comments
Walter Roberson
on 12 Apr 2019
Do you have a startup.m file?
kira
on 12 Apr 2019
Adam
on 12 Apr 2019
What does 'a script' contain?
kira
on 12 Apr 2019
Walter Roberson
on 12 Apr 2019
restoredefaultpath;
rehash toolboxcache
savepath
kira
on 12 Apr 2019
Walter Roberson
on 12 Apr 2019
If the above works for you, then you can later use pathtool to add on any additional paths you need ... after first checking that they have no startup.m file.
Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!