"Generic" option for device vendor in hardware configuration of Simulink disappeared
8 次查看(过去 30 天)
显示 更早的评论
I had the device vendor on generic. changed it to costume to test. But now i cannot change it back to generic as it is not available.
0 个评论
采纳的回答
Ruchika Parag
2025-7-2
Hi @Hossein, you're correct—once you change the Device vendor setting from Generic to Custom in Simulink (under Model Settings > Hardware Implementation), the Generic option may no longer appear in the drop-down menu. This is expected behavior in newer MATLAB releases. Simulink hides the Generic vendor once custom hardware settings are applied to avoid configuration conflicts.
To restore the Generic option, you can reset the hardware configuration using MATLAB code. From the MATLAB command window, run:
set_param(bdroot, 'ProdHWDeviceType', 'Generic->Unspecified (assume 32-bit Generic)');
After running this, save and close your model, then reopen it. The Generic device vendor should now reappear in the menu.
If the option is still missing, check if your model includes startup callbacks or is based on a template that enforces the custom hardware settings. You may need to remove or adjust those settings to re-enable the default behavior.
This approach typically resolves the issue when Generic disappears after testing with custom hardware settings.
0 个评论
更多回答(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!