syms wrong message, definition

1 vue (au cours des 30 derniers jours)
Lingling Fan
Lingling Fan le 12 Avr 2019
Commenté : Walter Roberson le 12 Avr 2019
As is shown in this graph,
whenever I use some "syms" command, it goes wrong.
How could I solve it? Thank you in advance
  3 commentaires
Lingling Fan
Lingling Fan le 12 Avr 2019
Screen Shot 2019-04-11 at 6.12.11 PM.png
It shows the system matlab file location for syms function
Lingling Fan
Lingling Fan le 12 Avr 2019
I have used syms function frequently before, without any problem showing up.
But recently, it turns out to be erroneous. What should I look at about the function

Connectez-vous pour commenter.

Réponse acceptée

Steven Lord
Steven Lord le 12 Avr 2019
syms creates an Inf value as part of its operation, and you've enabled an error breakpoint that causes MATLAB to enter debug mode when it encounters Inf or NaN. Clear that error breakpoint so MATLAB doesn't try to stop inside the syms function (technically the symvar function, which syms calls.)
  1 commentaire
Walter Roberson
Walter Roberson le 12 Avr 2019
I have many times wished I could say "No, don't stop in this function for inf !"

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by