Running Simulink Coder gives warning 'GenSettings must be initialized'
Mostra commenti meno recenti
I am currently running the latest version of matlab. in my model i combined 3 different block libraries. Simulink, SimScape and RF libraries. When i try to build my model using the build button i get an error 'GenSettings must be initialized'. I am attempting to build my model as a standalone application using simulink coder. I can simulate the model using the play button but building the model is the one generating the error.
Risposte (2)
Nick Sarnie
il 30 Giu 2018
Modificato: Nick Sarnie
il 30 Giu 2018
1 voto
If you have "clear all" in any model callbacks, especially the "Init Fcn" model callback, please remove that and try to generate code again.
If you still experience the error, please contact Technical Support.
1 Commento
Sumit Shrestha
il 28 Nov 2018
It solved my problem. Thanks!
Matthew Overlin
il 30 Giu 2018
0 voti
Same error here. Ubuntu 18.04, Matlab 2018a. Can anybody help here?
Categorie
Scopri di più su Simulink Coder in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!