Unable to export library to protected model
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Saiesh Singh
el 14 de Dic. de 2023
Comentada: Saiesh Singh
el 18 de Dic. de 2023
I have created a library which I need to protect in order to ship to my clients. Following this tutorial, I tried to export my library model to a protected model. However, I am unable to see any option for the same.
If I try to export a regular model, I am able to see the option to export the model to a protected one

The first image shows the save options for a non-library model, and the second one is for the library model (both are .slx files)
I also checked if I have Simulink Coder installed, and while I can see the name in the list of installed packages, running
license('test','Simulink_Coder')
returns a 0 indicating that I do not have the license. But in that case, I should not be able to export a non-library model to protected model either. What could be the issue and how do I solve it?
2 comentarios
Angelo Yeo
el 15 de Dic. de 2023
Before investigation, license string for Simulink Coder is "Real-Time_Workshop". Can you re-run the command below?
license('test', 'Real-Time_Workshop')
Respuesta aceptada
Angelo Yeo
el 15 de Dic. de 2023
I have released the following Q&A. Can you please check the Answers page below and see if it can solve your issue?
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!