Output argument "output" (and maybe others) not assigned during call to

1 view (last 30 days)
how to remove below error
Output argument "output" (and maybe others) not assigned during call to "wwuntitled2>BLPMSM_1_75kW_640RPM".
Error in wwuntitled2 (line 24)
Par_Q(S,1)= BLPMSM_1_75kW_640RPM(input);

Accepted Answer

KSSV
KSSV on 12 Apr 2021
Check in your function/ file the output which you are seeking is not present.
a = myfunc(2,3) ;
Output argument "out" (and maybe others) not assigned during call to "solution>myfunc".
function out = myfunc(b,c)
a = b+c ;
end
In the above example, the output out is not defined and you are trying to seek it as output; so error is thrown.
  2 Comments
KSSV
KSSV on 12 Apr 2021
You have to check your function, the output which you are trying to get from function is not defined.

Sign in to comment.

More Answers (0)

Categories

Find more on Data Type Identification 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!