Sorry to have sent without the attached file. Please refer to the attached one. Thanks and Best Regards,
Dynamic Configuration of Sample Time Parameter During Simulation
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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.
Respuestas (0)
Ver también
Categorías
Más información sobre Simulink Coder 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!