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

which syms -all % what shows up?
Lingling Fan
Lingling Fan 2019년 4월 12일
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 2019년 4월 12일
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

댓글을 달려면 로그인하십시오.

 채택된 답변

Steven Lord
Steven Lord 2019년 4월 12일

1 개 추천

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

Walter Roberson
Walter Roberson 2019년 4월 12일
I have many times wished I could say "No, don't stop in this function for inf !"

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2019년 4월 12일

댓글:

2019년 4월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by