Borrar filtros
Borrar filtros

Clearing Variables in Workspace on Simulink Pause

1 visualización (últimos 30 días)
Matt C
Matt C el 10 de Mzo. de 2017
I'm currently trying to obfuscate variables that are loaded into Simulink via a .p file. Is there a way to do this? If someone were to pause the simulation, then the variables would remain in the workspace and viewable. I can't just use a pause-callback saying "clearvars", because that callback can easily be erased.
I know that I can run the model programmatically via the "sim" command in another .p file, which contains a try-catch block that clears variables on a catch (and therefore are never output to the workspace), but I'm wondering if I can establish the same functionality through the Simulink GUI.
Thanks in advance.

Respuestas (0)

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by