suppress output in command window from eval function

17 vues (au cours des 30 derniers jours)
Rene Riha
Rene Riha le 17 Oct 2018
Commenté : Saul Stokar le 18 Mai 2021
Is it possible suppress output from eval function in commnad window? Semicolon doesn't work for this function. Thank you.

Réponse acceptée

Matt J
Matt J le 17 Oct 2018
Modifié(e) : Matt J le 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

Plus de réponses (0)

Catégories

En savoir plus sur Variables dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by