I'm getting a confusing error message.
Mostrar comentarios más antiguos
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
Respuestas (1)
Remove first two lines.
Name of the file and function should be the same.
help function
2 comentarios
Daoud Ahmad
el 6 de Nov. de 2020
blah('blah') % function call
function blah(x) % saved under the name blah.m
['blah blah ', x]
end
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!