run code section in nodesktop mode

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 ExchangeStartup 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