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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 27 Giu 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

Più risposte (0)

Prodotti


Release

R13SP1

Community Treasure Hunt

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

Start Hunting!

Translated by