I got this error :
Output argument "AB" (and maybe others) not assigned during call to
I would be greatly appreciated for your assistance,

 採用された回答

dpb
dpb 2014 年 2 月 9 日

0 投票

You wrote a function with the variable name in the definition line but never assigned a RHS to it.
SOTOO
function ab = yourfunctionname(x)
% does what it does
z=x.^1.5;
end
As is easily seen, ab is never defined. ( z should have been ab or vice versa). Fix the similar problem appropriately in your function.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePerformance and Memory についてさらに検索

タグ

質問済み:

UTS
2014 年 2 月 9 日

回答済み:

dpb
2014 年 2 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by