Why a code doesn't work when running a Function but it works by F9 key?
3 次查看(过去 30 天)
显示 更早的评论
Hello There,
I have written a function that contains the following code:
f=-fnval(spline,[nodes.x(nodes.topnodes) nodes.y(nodes.topnodes)]');
when I run the function, it always gets stuck in this line although everything seems to be fine. More interestingly, I set a breakpoint just before this line and run the function down to the breakpoint then run this line by F9 key and it works - but when running the whole function, it stops at this line. Anyone has an idea why?
Regards Salah
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Splines 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!