"Generic" option for device vendor in hardware configuration of Simulink disappeared

8 views (last 30 days)
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.

Accepted Answer

Ruchika Parag
Ruchika Parag on 2 Jul 2025
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.

More Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!