Run a compilation of mdf file from Matlab
1 view (last 30 days)
Show older comments
Hello,
Is it possible to start the compilation of a simulink model since Matlab command Window? If yes, is it possible to specify some parameters for the compilation (like System target file)?
My wish: create a .m file to automate two compilations of a specific mdl file, with two different System target files (tlc). Today I've have to manually change the tlc and start the compilations
0 Comments
Accepted Answer
TAB
on 20 Jun 2012
Assuming that from complication of model, you mean code generation or building a model.
You can change the System target file from command line or from m-file using command
>> set_param('ModelName','SystemTargetFile','TargetName');
% where TargetName could be ert.tlc, grt.tlc etc.
You can start building the model with command
>> rtwbuild('ModelName');
0 Comments
More Answers (1)
See Also
Categories
Find more on Multicore Processor Targets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!