How to Change Makefile Template Location to Avoid File Path Containing Ampersand? (r2013a)

1 view (last 30 days)
We're having a problem setting up new installation of MATLAB, Simulink, and the ArduinoIO package. Trying to run the simple blink example on a Mega 2560 target from Simulink yields the following error:
The call to realtime_make_rtw_hook, during the after_make hook generated the following error:
The build failed with the following message: 'C:\Users\HEATHER' is not recognized as an internal or external command, operable program or batch file.
The system cannot find the path specified. make: *** [MW] Error 1
The build process will terminate as a result.
Caused by:
The build failed with the following message: 'C:\Users\HEATHER' is not recognized as an internal or external command, operable program or batch file.
The system cannot find the path specified.
make: *** [MW] Error 1
The problem appears to be that it doesn't like the ampersand in our Windows user name "HEATHER & JOEL" because of the truncated "HEATHER" path in the error message. This Simulink project, however, was created in a file path that does NOT contain an ampersand.
Note the following message in MATLAB the first time this Simulink Tools > Run on Target Hardware was attempted after reinstall of MATLAB and the Arduino Support Package:
User makefile template location not set, using default C:\\Users\\Heather & Joel\\Documents\\MATLAB\\ instead.
User makefile tool chain configuration location not set, using default C:\Users\Heather & Joel\Documents\MATLAB\ instead.
So, it looks like we need to change the makefile template location, but we cannot find where to do this. Does anyone know how to change the makefile template location or to otherwise solve this problem?

Answers (0)

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!