Why is command window printing out all the code?

9 ビュー (過去 30 日間)
K Yang
K Yang 2021 年 5 月 22 日
コメント済み: Star Strider 2021 年 5 月 22 日
This is the first time this has happened... Is there any way to disable this?

採用された回答

Star Strider
Star Strider 2021 年 5 月 22 日
The echo function may have become activated somehow.
See if:
echo off
solves it.
.
  2 件のコメント
K Yang
K Yang 2021 年 5 月 22 日
Yes it does! Thank you very much!
Star Strider
Star Strider 2021 年 5 月 22 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (1 件)

per isakson
per isakson 2021 年 5 月 22 日
編集済み: per isakson 2021 年 5 月 22 日
There is a function called echo(), which I've never used. Have you run
echo on
by mistake?
I reproduced the behavior you see
>> echo on
>> Untitled
%%
A = 1;
B = 2;
C = 3;
D = 4;
>>
>> echo off
>> Untitled
>>
  1 件のコメント
K Yang
K Yang 2021 年 5 月 22 日
Thank you so much!!!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAudio Processing Algorithm Design についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by