Clear Filters
Clear Filters

suppress output in command window from eval function

43 views (last 30 days)
Is it possible suppress output from eval function in commnad window? Semicolon doesn't work for this function. Thank you.

Accepted Answer

Matt J
Matt J on 17 Oct 2018
Edited: Matt J on 17 Oct 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

More Answers (0)

Categories

Find more on Variables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!