Why is command window printing out all the code?

This is the first time this has happened... Is there any way to disable this?

 採用された回答

Star Strider
Star Strider 2021 年 5 月 22 日

0 投票

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 日

0 投票

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
>>

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2021 年 5 月 22 日

コメント済み:

2021 年 5 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by