Unrecognized function or variable
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi All. I would like to ask you for some help. As I am new to MATLAB, I customised most of the settings manually and had a look at the code afterwards ('generate code'). After MATLAB generated the code, I tried to use the specific function generated for the individual application, and I am always getting an error. As an example: I tried to import my data and receive the error: Unrecognized function or variable 'importfile'. The same error is shown when I plotted my data (Unrecognized function or variable 'createfigure'), and did some curve fitting (Unrecognized function or variable 'createFit').
I found out and feel the problem could be in the fact where the files are saved. But I have no idea what I am doing wrong in saving them (I do have one file where everything is saved (.m, .mlx and my imported .xlsx files) and there is indeed another file related to the program itself, where all applications are stored.
Does someone know what is going wrong?
Thank you so much in advance!
0 Kommentare
Antworten (1)
Image Analyst
am 23 Okt. 2021
You have another file that is required called importfile() that is not found in your current folder or on your search path. Use the operating system to search your entire hard drive for it, then put its folder on the path.
0 Kommentare
Siehe auch
Kategorien
Mehr zu File Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!