"Generic" option for device vendor in hardware configuration of Simulink disappeared
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hossein
le 24 Juin 2025
Réponse apportée : Ruchika Parag
le 2 Juil 2025
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 commentaires
Réponse acceptée
Ruchika Parag
le 2 Juil 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!