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

 채택된 답변

Walter Roberson
Walter Roberson 2018년 9월 17일

0 개 추천

No, you cannot do that in nodesktop mode.

추가 답변 (1개)

Leo Simon
Leo Simon 2018년 9월 17일

0 개 추천

Figured as much. A pity though, it would be enormously helpful, and a great enhancement, for those of us who despise desktop mode.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2018년 9월 16일

답변:

2018년 9월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by