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;Error Jacobian_adjoint_MIT_Jim.png

3 Comments

YOu can do that.......but you have to provide input arguments to the function if any function is called in the code.
Will you please give me an example:
Because when I want to do it in the command window to execute step by step, it gives error of "no enough arguments".
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.

Sign in to comment.

Answers (0)

Products

Release

R2016b

Asked:

on 30 Jan 2019

Edited:

on 30 Jan 2019

Community Treasure Hunt

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

Start Hunting!