Setup a Simulink model to work only with a license file

4 views (last 30 days)
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

Answers (1)

Utkarsh Belwal
Utkarsh Belwal on 1 Mar 2021
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 Comments
Alessandro Massimo Giordano
Edited: Alessandro Massimo Giordano on 2 Mar 2021
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 on 3 Mar 2021
Edited: Utkarsh Belwal on 3 Mar 2021
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

Sign in to comment.

Categories

Find more on Manage Products in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!