Why does xPC target reverts back to the old compiler settings when I restart a new session of MATLAB 8.0 (R2012b)?
1 view (last 30 days)
Show older comments
I use the following command to change the compiler:
>> xpcsetCC('setup')
and choose a compiler of my choice.
However, when I restart MATLAB and do:
>> xpcgetCC
It reverts back to the old compiler which is there by default.
Accepted Answer
MathWorks Support Team
on 11 Apr 2013
This issue is caused when the user does not have the write permissions to the PREFDIR.
When a compiler is setup using the command:
>> xpcsetCC('setup')
The name and the location is stored in the file "HostEnvSettings.xml" located in the folder "xPCTargetPrefs" inside PREFDIR.
Please make sure that the user has write permissions to this directory to allow MATLAB to save these compiler settings.
0 Comments
More Answers (0)
See Also
Categories
Find more on Target Computer Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!