Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Update C++ function and simulink

1 visualización (últimos 30 días)
Ralf
Ralf el 16 de Abr. de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hi, I have 2 questions. When i only change the C-code it will not be updated in the simulation?
Example:
int GetADC()
{
return 10;
}
Next time I change 10 to 5 and when I rerun the model it still return 10. It only update when I change some thing in the stateflow/Simulink model.
Is it possible to access the Matlab workspace or Simulink variable from inside the c function?
Whit kind regards,
Ralf

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by