Running Simulink Coder gives warning 'GenSettings must be initialized'

조회 수: 2 (최근 30일)
Ngonidzashe Nedziwe
Ngonidzashe Nedziwe 2018년 6월 25일
댓글: Sumit Shrestha 2018년 11월 28일
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.

답변 (2개)

Nick Sarnie
Nick Sarnie 2018년 6월 30일
편집: Nick Sarnie 2018년 6월 30일
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 2018년 6월 30일
Same error here. Ubuntu 18.04, Matlab 2018a. Can anybody help here?

Community Treasure Hunt

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

Start Hunting!

Translated by