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일
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 Exchange에서 Variables에 대해 자세히 알아보기

질문:

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