how to solve this issue ((((Undefined function 'm_shaperead' for input arguments of type 'char'))))

2 visualizzazioni (ultimi 30 giorni)
Hi every one, I keep getting the following error when I try to run my simulation: Undefined function 'm_shaperead' for input arguments of type 'char'. By the way the code was going very well, but I did format for my computer then the problem started. I set the path correctly. By the way I am a beginner in Matlab. Thank you Reyadh

Risposta accettata

Geoff Hayes
Geoff Hayes il 3 Apr 2015
Reyadh - given the error message, it sounds like you no longer have this file or it isn't within the MATLAB search path. In the Command Window, type
which m_shaperead -all
to see if this file/function can be found. If you observe the
'm_shaperead' not found.
then either download the mapping package again and save its folder to the MATLAB search path, or if you are sure that you already have the file, then add this folder to the search path.

Più risposte (1)

Mahdiyar
Mahdiyar il 3 Apr 2015
Please put your code. Without it I cannot understand what is going on.

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by