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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 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

Más respuestas (0)

Productos


Versión

R13SP1

Community Treasure Hunt

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

Start Hunting!

Translated by