How to change the device type from Matlab?
조회 수: 2 (최근 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에서 Raspberry Pi Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!