Unable to export library to protected model

조회 수: 4 (최근 30일)
DORLECO
DORLECO 2023년 12월 14일
댓글: DORLECO 2023년 12월 18일
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
Angelo Yeo
Angelo Yeo 2023년 12월 15일
Before investigation, license string for Simulink Coder is "Real-Time_Workshop". Can you re-run the command below?
license('test', 'Real-Time_Workshop')
DORLECO
DORLECO 2023년 12월 15일
Yes, I just ran the command and received the output as 1

댓글을 달려면 로그인하십시오.

채택된 답변

Angelo Yeo
Angelo Yeo 2023년 12월 15일
I have released the following Q&A. Can you please check the Answers page below and see if it can solve your issue?
  댓글 수: 2
madhan ravi
madhan ravi 2023년 12월 15일
+1, Thanks for the initiative Angelo! Keep up the great work:).
DORLECO
DORLECO 2023년 12월 18일
Thanks. I am able to create locked libraries following the attached Q&A

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by