Effacer les filtres
Effacer les filtres

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 vues (au cours des 30 derniers jours)
a = 4;
b = 7;

Réponses (2)

Walter Roberson
Walter Roberson le 5 Fév 2024
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.

Cris LaPierre
Cris LaPierre le 5 Fév 2024
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.

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by