devo usare delle funzioni .m che mi hanno inviato in cartelle a parte, ma anche se le inserisco nella current folder Matlab dice che non riesce a individuarle
Ältere Kommentare anzeigen
Antworten (1)
Anjaneyulu Bairi
am 13 Okt. 2025
Hi,
Here are some possible workarounds you can try:
1.Add the folders to the MATLAB path:
MATLAB can only see functions that are in the current folder or on its search path. To add all subfolders, use:
addpath(genpath('folder_path'))
Replace 'folder_path' with the path to the main folder containing your .m files.
2. Clear and refresh:
After moving files,run below commands
rehash toolboxcache
clear functions
Hope this helps!
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!