How to change the device type from Matlab?
3 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
Kaustubha Govind
2013-7-16
You need to pass in the name of the model as the first argument:
set_param('modelname', 'ProdHWDeviceType', 'Generic->32-bit Embedded Processor');
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!