I'm getting a confusing error message.
古いコメントを表示
Unrecognized function or variable 'incomeTax'.
I do not understand why this variable is unrecognised.
Have attached a screenchot of my code.
Any help would be appreciated.
Thanks
回答 (1 件)
Remove first two lines.
Name of the file and function should be the same.
help function
2 件のコメント
Daoud Ahmad
2020 年 11 月 6 日
blah('blah') % function call
function blah(x) % saved under the name blah.m
['blah blah ', x]
end
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!