Dynamic Configuration of Sample Time Parameter During Simulation

1 visualización (últimos 30 días)
Hiroshi Kimizuka
Hiroshi Kimizuka el 26 de Jun. de 2018
Comentada: Hiroshi Kimizuka el 26 de Jun. de 2018
Hi, I would like to re-configure the "Sample Time" parameter of the specific block in my model dynamically during Simulink Simulation. Tried saveral ways as 1) Step-and-configure by MATLAB command(sim command, etc.), 2) ssXXXX function call(to configure Simulink Parameter structure) from my C code in the S-Function, 3) Inherit the Sampling Frequency generated by my MATLAB function to the specific block, as explained in the attached .ppt slides. However, either way is not realized. Could you please suggest me how I can proceed it.
  1 comentario
Hiroshi Kimizuka
Hiroshi Kimizuka el 26 de Jun. de 2018
Sorry to have sent without the attached file. Please refer to the attached one. Thanks and Best Regards,

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