Why is command window printing out all the code?

12 次查看(过去 30 天)
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.
.

更多回答(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
>>

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by