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

4 次查看(过去 30 天)
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

采纳的回答

Geoff Hayes
Geoff Hayes 2015-4-3
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.

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by