When use function syms to create symbolic variables, MATLAB shows 'NaN/Inf breakpoint hit for mat2str.p on line 164.'
1 view (last 30 days)
Show older comments
Yang Shen
on 3 Aug 2018
Answered: Walter Roberson
on 3 Aug 2018
>> syms A B C D X
NaN/Inf breakpoint hit for mat2str.p on line 164.
167 elseif (matrix(i,j) == -Inf)
0 Comments
Accepted Answer
Walter Roberson
on 3 Aug 2018
Either use
dbcont
as often as required, or else use
dbclear if naninf
dbcont
0 Comments
More Answers (0)
See Also
Categories
Find more on Numbers and Precision in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!