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)
a = 4
Since myFunction hasn't been defined, this program snippit will crash unless it is run starting from the %%'s