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);
0 个评论
采纳的回答
KSSV
2021-4-12
Check in your function/ file the output which you are seeking is not present.
a = myfunc(2,3) ;
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 个评论
KSSV
2021-4-12
You have to check your function, the output which you are trying to get from function is not defined.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!