fplot simplemente no responde

Estoy aprendiendo a usar la herranienta Symbolic Math. Sigo el tutorial corespondiente y al digitar
fplot (f)
tal y cual el tutorial, el programa no hace el gráfico y no acusa nada, solo continua a la espera de la próxima sentencia. Porque?

 Accepted Answer

Voss
Voss on 1 Apr 2024
Edited: Voss on 1 Apr 2024
Are you running commands in the command window?
If so, is this what you see at the bottom of the command window?
If so, you may inadvertently be inside a for or while loop or an if/else/elseif or switch/case/otherwise conditional block (due to a previous for/while/if/else/elseif/switch/case/otherwise keyword that was not closed with an end).
Hit ctrl+c to cancel that loop/block and return to normal command-line operation.

2 Comments

Yo estaba en la ventana de comandos
Me parece que no estaba en un loop pero alguna cosa parecida acontecia
Lo cierto es que reinicié Matlab y se resolvió el problema
De cualquier formam muchas gracias!!!
Voss
Voss on 1 Apr 2024
Edited: Voss on 1 Apr 2024
You're welcome!
Next time, if it happens again, you can try ctrl+c.
The same thing can happen if you are entering an array that is incomplete, e.g., you entered a [ without a ], or entered line continuation characters (...). Hitting ctrl+c would cancel the command in that case, as well.

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2024a

Asked:

on 1 Apr 2024

Edited:

on 1 Apr 2024

Community Treasure Hunt

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

Start Hunting!