It script "Laplace1.m" works without errors in matlab R2018b, but in Matlab R2019b gives the following error:
2 次查看(过去 30 天)
显示 更早的评论
0 个评论
回答(2 个)
Siriniharika Katukam
2020-2-25
Hi
When I tried running your code in 2018b and 2019b, I got the same error and found that it occurs in both the releases.
0 个评论
Steven Lord
2020-2-25
Nowhere in the code you've shown do you show the array place or the function place. [There is a place function in Control System Toolbox but I don't think that's what you're calling in this context.] If it's an array, look at the code that computes it to determine how an element becomes non-positive. If it's a function determine why it's returning a non-positive number.
You can set an error breakpoint to determine the specific indices or input arguments i, j, and n that result in the non-positive index.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!