suppress output in command window from eval function

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 日

7 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeVariables についてさらに検索

質問済み:

2018 年 10 月 17 日

コメント済み:

2021 年 5 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by