Can a MATLAB script run silently?

14 次查看(过去 30 天)
I want to run a script in MATLAB without the script displaying a lot of stuff. I'm looking for the equivalent of the instruction "@echo off" that can be used to run batch files in Windows.

采纳的回答

Matt Fig
Matt Fig 2011-3-14
Why would the script be displaying anything? Go through the script and make sure there are no calls to DISP, and every line ends in a semi-colon. Then the script shouldn't be dumping anything to the command line.

更多回答(1 个)

Walter Roberson
Walter Roberson 2011-3-14
evalc() the script and throw away the output.

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by