フィルターのクリア

Even a simple code I wrote in matlab does not appear in the command window section, only the name of the file appears for example >>untitled1 How can I solve this?

2 ビュー (過去 30 日間)
a = 4;
b = 7;
  1 件のコメント
Dyuman Joshi
Dyuman Joshi 2024 年 2 月 6 日
As you are just starting with MATLAB, I suggest you take the free MATLAB Onramp tutorial to learn the essentials and the syntax of MATLAB.

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

回答 (2 件)

Walter Roberson
Walter Roberson 2024 年 2 月 5 日
That is normal when code is stored in a file.
When lines end in semi-colon, that is a request to not output the result of the line.
  1 件のコメント
Elif
Elif 2024 年 2 月 6 日
Thank you very much for your help, I'm just starting out and I'm making a lot of mistakes.

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


Cris LaPierre
Cris LaPierre 2024 年 2 月 5 日
There is nothing to solve. That is how MATLAB works. The command window is telling you what script was executed. It does not print the code in that script to the command window.
I suggest opening your script in the editor if you want to see the code.
  1 件のコメント
Elif
Elif 2024 年 2 月 6 日
Thank you very much for your help, I'm just starting out and I'm making a lot of mistakes.

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

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by