How can i avoid the output in my command window?

How can i avoid the output in my command window? Because my code is huge. I forgot many times to use ";" at the end of my... Is there a special command which i can set at the beginning of my code?

回答 (1 件)

Star Strider
Star Strider 2017 年 5 月 2 日

0 投票

You can experiment with the echo (link) function.
Otherwise, you have to go through your code and insert the semicolons (;) at the end of each line you want to suppress the output of.

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

タグ

質問済み:

2017 年 5 月 2 日

回答済み:

2017 年 5 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by