Simulink Engine Interface is not enabled
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Justin Eng
am 12 Apr. 2018
Bearbeitet: Stefanie Schwarz
am 23 Nov. 2021
I'm trying to use HDL coder with a Simulink project, however during any code generation I get the error:
Error using slhdlcoder.SimulinkConnection/initModel Simulink engine interface is not enabled.
I also get an error that there has been a failure to initialize the model, however no indication as to what is causing this error.
Has anyone dealt with this issue before? I can run the Simulink model correctly in simulation.
1 Kommentar
Walter Roberson
am 12 Apr. 2018
All I seem to find at the moment is https://www.mathworks.com/help/simulink/sfg/ss_option_nonvolatile.html
Akzeptierte Antwort
Stefanie Schwarz
am 23 Nov. 2021
Bearbeitet: Stefanie Schwarz
am 23 Nov. 2021
I suspect that this might be a licensing problem. For example, it could be that a network license key is unavailable. See also:
One good first step would be to see if you are able to perform a model update (CTRL+D) or run a simulation.
Then, you can run the following commands to see whether you are able to check out all necessary licenses ('1' means successful checkout):
>> license('checkout','matlab') % MATLAB
>> license('checkout','Simulink') % Simulink
>> license('checkout','Fixed_Point_Toolbox') % Fixed-Point Designer
>> license('checkout','Matlab_Coder') % MATLAB Coder
>> license('checkout','Simulink_HDL_Coder') % HDL Coder
If any of the commands return '0', it means the license is missing. In this case, contact your local MATLAB License Administrators for help.
Depending on the blocks used in your model, additional licenses may be required, e.g.
>> license('checkout','signal_blocks') % DSP System Toolbox
Use the following function to find out about your model's dependencies:
0 Kommentare
Weitere Antworten (1)
Kiran Kintali
am 12 Apr. 2018
You seem to have hit an internal error. Can you please create a tech support case for HDLCoder? Someone can help you if you provide reproduction steps.
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!