I'm getting a confusing error message.
Afficher commentaires plus anciens
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
Réponses (1)
Remove first two lines.
Name of the file and function should be the same.
help function
2 commentaires
Daoud Ahmad
le 6 Nov 2020
blah('blah') % function call
function blah(x) % saved under the name blah.m
['blah blah ', x]
end
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!