suppress output in command window from eval function

40 次查看(过去 30 天)
Is it possible suppress output from eval function in commnad window? Semicolon doesn't work for this function. Thank you.

采纳的回答

Matt J
Matt J 2018-10-17
编辑:Matt J 2018-10-17
You have to put the semicolon inside the command string, e.g.,
>> eval('a=75;') %No output
Not this,
>> eval('a=75');
a =
75

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by