How to solve 'Unrecognized Function or Variable' Error Code
11 views (last 30 days)
Show older comments
I have code directly copied from my professor that pulls from five other functions to solve an IVP using Euler method. When I try to run the final code I get the 'Unrecognized function or variable' error. Is this because the final code does not have an actual defined function? 

0 Comments
Answers (1)
Steven Lord
on 13 Oct 2020
Are you trying to run the script from inside the ZIP-file, without extracting it? That won't work. Extract the files to a directory, make the files in that directory accessible to MATLAB (making it your current directory or adding it to the MATLAB path), and then you should be able to run the script.
See Also
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!