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

1 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Refinement 的更多信息

产品


版本

R13SP1

Community Treasure Hunt

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

Start Hunting!

Translated by