Borrar filtros
Borrar filtros

Code generation ignores my matlab function in simulink

2 visualizaciones (últimos 30 días)
Aaron Hamilton
Aaron Hamilton el 18 de Feb. de 2022
Comentada: Denis Gurchenkov el 22 de Feb. de 2022
I have a matlab function which has one input and no output. I get some data from inport into this function and dump those variables into global variables that already exists in the workspace. However, Simulink code generation completely skips this matlab function and I'm not sure how to force it to go through those assignments.
Goal: I'm trying to update some variables that are used throughout the model using inports.
  1 comentario
Denis Gurchenkov
Denis Gurchenkov el 22 de Feb. de 2022
Hi Aaron, it is hard to figure out the problem without seeing an example. Do you have a simple model that you can attach, along with the reproduction steps?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by