Error due to a PATH contains a space

10 views (last 30 days)
Amin Asham
Amin Asham on 23 Dec 2018
Commented: Image Analyst on 23 Dec 2018
I am trying to build a Simulnk model using MATLAB 2018b that will run on LEGO EV3.
Each time I run the model in Extrnal mode I get the following message:
arm-none-linux-gnueabi-gcc: Danial/GOOGLE~1/SHARED~1/LEGO/SelfBalance: No such file or directory
arm-none-linux-gnueabi-gcc: Danial/GOOGLE~1/SHARED~1/LEGO/SelfBalance/Test_ert_rtw: No such file or directory
Whereas the true path is:
C:\Users\Amin Danial\Google Drive\Shared MATLAB\LEGO\SelfBalance
C:\Users\Amin Danial\Google Drive\Shared MATLAB\LEGO\SelfBalance\Test_ert_rtw
When I move the Selfbalance Directory to the root of C drive , to be:
It works fine.
What is the solution?
Image Analyst
Image Analyst on 23 Dec 2018
Somehow the path needs to be enclosed in double quotes when passing it to the module/program.

Sign in to comment.

Answers (0)




Community Treasure Hunt

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

Start Hunting!