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

1 次查看(过去 30 天)
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);

采纳的回答

KSSV
KSSV 2021-4-12
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Identification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by