What does the path in "The system cannot find the path specified" refer to?

4 views (last 30 days)
I was building a simulink model for Arduino Due. It was working perfectly fine until recently every time when I build, there would be an error:
The call to realtime_make_rtw_hook, during the after_make hook generated the following error: The build failed with the following message: The system cannot find the path specified. The build process will terminate as a result. The build failed with the following message: The system cannot find the path specified.
I checked the library including paths and they are fine. I was wondering that does the "path" mean in the error information? Does it refer to the path of realtime_make_rtw_hook? How can I solve it?
I'm using Matlab 2014a 32bit with Microsoft Visual C++ 2010 Professional (C) as my complier.
Thank you & happy new year!

Accepted Answer

YL
YL on 17 Jan 2015
I deleted all support packages including Mega 2560 and DUE, and only re-install the support package for DUE, and problem solved. It seems that there may be some conflicts between the support package of Mega 2560 and that of DUE. Just install the thing that you need.

More Answers (1)

Sreeram Mohan
Sreeram Mohan on 7 Jan 2015
Hi Yiqui,
Try doing the following :
run >> dbstop if error
and then start the installation process and it should tell you more about the error and then giving this error to the tech support team at the Mathworks may shed some light.
hope this helps !!
Sreeram Mohan
  2 Comments
liu
liu on 9 Jan 2015
I got the same problem as yours,so have you found the solution?I don't know how to solve it.
Mohamed
Mohamed on 8 Oct 2016
Hello Yiqiu. i want to know the and solution of this problem as iam facing it now. Thanks in advance

Sign in to comment.

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!