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)
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
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.

More Answers (0)

Products


Release

R2012b

Community Treasure Hunt

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

Start Hunting!