MATLAB Answers

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

18 ビュー (過去 30 日間)
Shubham PATEL
Shubham PATEL 2021 年 4 月 12 日 5:39
コメント済み: KSSV 2021 年 4 月 12 日 7:01
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 日 5:44
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 件のコメント
KSSV
KSSV 2021 年 4 月 12 日 7:01
You have to check your function, the output which you are trying to get from function is not defined.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by