Why am I unable to find the functions SETTARGETPREFS and GETTARGETPREFS in the Embedded Target for Motorola MPC555 1.1 (R13SP1)?

1 view (last 30 days)
In MATLAB 6.5 (R13), the two functions SETTARGETPREFS and GETTARGETPREFS can be found at the following directories:
$MATLAB\toolbox\rtw\targets\mpc555dk\common\configuration\settargetprefs.p
$MATLAB\toolbox\rtw\targets\mpc555dk\common\configuration\gettargetprefs.p
(where $MATLAB = the MATLAB root directory on your machine)
In MATLAB 6.5.1 (R13SP1), they can no longer be found. I use the following code:
which -all settargetprefs
The output is:
settargetprefs not found.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
These two functions have been removed in The Embedded Target for Motorola MPC555 1.1 (R13SP1). Here is an example of how you can set or get the preferences using command lines:
prefs = RTW.TargetPrefs.load('mpc555.prefs');
prefs.ToolChainOptions.CompilerPath = 'd:\applications\diab\4.4b';
prefs.save

More Answers (0)

Products


Release

R13SP1

Community Treasure Hunt

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

Start Hunting!