Borrar filtros
Borrar filtros

How to protect paramaters in look-up table in Simulink?

2 visualizaciones (últimos 30 días)
ozan eren
ozan eren el 13 de Ag. de 2021
Respondida: Pavan Guntha el 18 de Ag. de 2021
Hi,
This is Ozan and I'am using Matlab/Simulink 2020a. I want to share my models with third parties, so I used model protection tool in Simulink with embedded coder. For other blocks the tool works fine and makes the code hard to understand, please note that model protection should be compatible with code generation. But when I protect a look-up table (or constant) whose parameters are provided from workspace all the parameters are visible in data.c file. This means that all third parties will be able to see look-up table parameters and I want to prevent that.
So in short, are there any way to protect the parameters of look up table?
To be more clear, I create an example. First, I created a look-up table from, then model referenced it. I protect the referenced model and create a rest harness. When I generate code from protected test harness and review the generated c code. I observe that all the parameters can be clearly seen in data.c file. The screenshots can be seen in the attachment. Also, I attach all the normal and protected model files.
Any help will be appreciated and thanks in advance.

Respuesta aceptada

Pavan Guntha
Pavan Guntha el 18 de Ag. de 2021
Hi Ozan,
I understand that the issue is with protecting the parameters of the Look-up Table while code generation from the protected model. The link below clearly explains various ways to offer different levels of protection to the Simulink models. You may have a look at that.
Hope this helps!

Más respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by