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.

 Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Variables finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 17 Okt. 2018

Kommentiert:

am 18 Mai 2021

Community Treasure Hunt

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

Start Hunting!

Translated by