How to not display the output of a function?
35 ビュー (過去 30 日間)
古いコメントを表示
I have a function which has three outputs. one of them is too long, so it takes few minutes to display the answer. Is there any way that I do not see the output in the command window?
0 件のコメント
採用された回答
James Tursa
2016 年 9 月 30 日
編集済み: James Tursa
2016 年 9 月 30 日
Put a semi-colon at the end of the line. E.g.,
x = myfunction(stuff) <-- will display the result to the screen
x = myfunction(stuff); <-- will not display the result
1 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!