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!