Step by step execution of "No argument function"
显示 更早的评论
I am calling a no argumnet function in my main .m file.
I want to execute this function step by step to debug and check the folw of the fucntion code.
But it is giving error of "Not enough arguments". I want to make sure MATLAB provide this facility to execute this type of fucntion step by step because MATLAB is user friendly software.
>>
>>imdl = mk_ExpModel_adjD('ELB_16L1_G_C2D',13,2);
>>imdl.fwd_model.jacobian = @jacobian_adjoint_MIT_FEMM_Jim;
3 个评论
KSSV
2019-1-30
YOu can do that.......but you have to provide input arguments to the function if any function is called in the code.
Muhammad Adil
2019-1-30
Jan
2019-1-30
I did not see such a message yet. Maybe it concerns inpur or output arguments? Please post the relevant part of the code and a copy of the complete message. Otherwise it is hard to guess, what you are doing and which problem occurs.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!