run code section in nodesktop mode
Show older comments
Title says it all. I always run matlab with the -nodesktop flag. I've just learned how to run a code section from within the IDE environment. Is it possible to do the same in nodesktop mode?
Here's an MWE
a = myFunction(y)
%%Code section
a = 4
disp(a)
Since myFunction hasn't been defined, this program snippit will crash unless it is run starting from the %%'s
Thanks!
Leo
Accepted Answer
More Answers (1)
Leo Simon
on 17 Sep 2018
0 votes
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!