MATLAB Answers

Running Simulink Coder gives warning 'GenSettings must be initialized'

5 views (last 30 days)
Ngonidzashe Nedziwe
Ngonidzashe Nedziwe on 25 Jun 2018
Commented: Sumit Shrestha on 28 Nov 2018
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.

  0 Comments

Sign in to comment.

Answers (2)

Nick Sarnie
Nick Sarnie on 30 Jun 2018
Edited: Nick Sarnie on 30 Jun 2018
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.

Matthew Overlin
Matthew Overlin on 30 Jun 2018
Same error here. Ubuntu 18.04, Matlab 2018a. Can anybody help here?

  0 Comments

Sign in to comment.

Sign in to answer this question.