any output on command window

when I create my code on the editor and Irun it results are shown on workspace, but the command window remain empty, how can i solve this problem?

1 Commento

Guillaume
Guillaume il 14 Gen 2020
Unless you specifically write code to output something to the command window nothing would go there so it sounds like everything is as it should.
If you have specifically written code to output something at the command window and it doesn't appear, then we can't really help you without seeing said code.

Accedi per commentare.

Risposte (2)

Bhaskar R
Bhaskar R il 14 Gen 2020
Modificato: Bhaskar R il 14 Gen 2020

0 voti

  • Probably all statements of your code terminated with the operator ;(semilocon) that means MATLAB doesnot show the computed results to command window
  • Probably your code may not have the command write functions like disp, sprintf, fprintf
  • Probably your code has the MATLAB command clc( clear command window)

Categorie

Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange

Richiesto:

il 14 Gen 2020

Commentato:

il 14 Gen 2020

Community Treasure Hunt

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

Start Hunting!

Translated by