Protecting Intelectual Property in Simulink

조회 수: 7 (최근 30일)
Jose Swimmer
Jose Swimmer 2019년 9월 27일
댓글: Ashwini More 2020년 12월 31일
Hi! I am trying to protect a system in Simulink and I have see that I have to reference it to be able to protect it afterwards. Also, I saw that first of all i have to make the subsystem atomic and after that convert it to a reference model. The problem is that i get the following error when i try to reference the model.
Version:1.0 StartHTML:0000000107 EndHTML:0000002095 StartFragment:0000000127 EndFragment:0000002077
If I look in the Goto/From block i see that the Goto one is inside the powergui block whereas the from one is in the Current Measurement block. I guess that the problem is due to the powergui block used to control the system. Does anyone know how can I reference a subsystem commanded by a powergui block?
Thanks for all
  댓글 수: 1
Ashwini  More
Ashwini More 2020년 12월 31일
Hi Jose,
Hope your issue has been resolved.
I am trying the same thing of protecting intellectual property in simulink. I am able to convert my subsytem to reference model but error comes from code which I have referred from examples given in mathworks.
Can you help me with this code? I couldnt get what is Simulink.parameter from first line.
Kp = Simulink.parameter;
Kp.RTWInfo.StorageClass = 'SimulinkGlobal';
Kp.Value = 2
open_system(mdlref)
set_param(bdroot,'ModelRefNumInstanceAllwed')
save_system(mdlref)
[harnesshandle,neededVars]=Simulink.ModelReference.Protect(mdlref)
Thanks in advance!

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

답변 (1개)

Tony Lennon
Tony Lennon 2019년 9월 27일
Hi Jose,
Please, could you repost your question in the MATLAB Answers section? It will receive attention from many more people.
Thanks, Tony

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Switches and Breakers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by