Borrar filtros
Borrar filtros

Sending data from App Designer to Simulink Model

10 visualizaciones (últimos 30 días)
Byron Piper
Byron Piper el 18 de Jul. de 2022
Respondida: Amit Dhakite el 17 de Mzo. de 2023
For example, I have a switch on my app which when I set to 'On' it then sets a variable in my model to '1'. How do I do this?
It seems to me that this is an impossible feat. All I want to do is modify variables of a script/function which my model can then interpret.

Respuestas (1)

Amit Dhakite
Amit Dhakite el 17 de Mzo. de 2023
Hi Byron,
As per my understanding, you want to control your Simulink model and pass data to it from your app designer.
Kindly go through the following MATLAB Answers which discusses similar issues that you may find helpful in addressing your specific problem.
  1. https://www.mathworks.com/matlabcentral/answers/520608
  2. https://www.mathworks.com/matlabcentral/answers/310658

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by