Setup a Simulink model to work only with a license file

1 次查看(过去 30 天)
Hi,
I would like to setup a Simulink model to work only in presence of a license file.
This license file shall have an expiry date, such that the Simulink model does not work when the license is expired.
Is there a way to implement such a feature in Simulink?
Thanks.
Best regards

回答(1 个)

Utkarsh Belwal
Utkarsh Belwal 2021-3-1
Hi Alessandro,
Without having a valid license MATLAB and Simulink can't be installed, so if you try to run the model without a valid license, it will not run.
Thanks,
Utkarsh
  2 个评论
Alessandro Massimo Giordano
编辑:Alessandro Massimo Giordano 2021-3-2
Hi,
thanks for the answer. Actually I am meaning a different thing. I am not talking about Mathwork's license for running Simulink, but an ad-hoc license (of mine) for running a Simulink model.
Example: assume such a feature exists, I would be able to create a Simulink model and associate an ad hoc license file to it; then I then I could send the model and the ad hoc license file to another person. In this way, I would be able to impede that people without the ad hoc license file can execute the model, and ensure that only people with the ad hoc license file can.
Note: the license file shall not be Mathworks' license file but any suitable file (e.g. containing a key) allowing doing it.
Utkarsh Belwal
Utkarsh Belwal 2021-3-3
编辑:Utkarsh Belwal 2021-3-3
I think that you want to protect your model. You can use the following four approaches to protect the intellectual property of a Simulink model:
  1. Protected Model
  2. S-Function Target
  3. Shared Library
  4. Read/Write Access for Subsystems
Please refer to the following link to get more information about these methods: https://www.mathworks.com/matlabcentral/answers/414694-how-can-i-protect-the-intellectual-property-of-my-simulink-model

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by