Importing variables into Simulink from Matlab

112 visualizaciones (últimos 30 días)
Evan Schein
Evan Schein el 2 de Feb. de 2022
Comentada: Evan Schein el 2 de Feb. de 2022
Hi all I am now trying to compile my Simulink model and having trouble linking my workspace variables.

Respuesta aceptada

Benjamin Thompson
Benjamin Thompson el 2 de Feb. de 2022
In the Model Explorer, go to the Model Workspace parameters and set the Data source to "MATLAB File". Select your M file to use in the file name edit box. If you have further problems be sure to post the model file and any error messages for the community to see.
  1 comentario
Evan Schein
Evan Schein el 2 de Feb. de 2022
Hi Ben,
Quck follow up here, any idea what these task blocks are and how they might relate to the state flow block that's shown here?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by