How to change the device type from Matlab?

8 vues (au cours des 30 derniers jours)
Alexandru
Alexandru le 16 Juil 2013
Hello!
In order to change automatically from Matlab the device type in Simulink I am using this line:
set_param('ProdHWDeviceType', 'Generic->32-bit Embedded Processor');
But without result. After running this line, nothing will change in the Hardware Implementation panel. Do I need to set some other properties?
Thank you!

Réponses (1)

Kaustubha Govind
Kaustubha Govind le 16 Juil 2013
You need to pass in the name of the model as the first argument:
set_param('modelname', 'ProdHWDeviceType', 'Generic->32-bit Embedded Processor');

Catégories

En savoir plus sur Raspberry Pi Hardware dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by