How to increment real world time in matlab function block of simulink?
Mostrar comentarios más antiguos
Hi, I want to advance the complete system for n clk cycles or n samples(discrete constant sample period). Can I do this in matlab function block in simulink (simulink -> usr-defined-functions -> matlab function). Is this possible in matlab and simulink ?
1 comentario
abc NP
el 2 de Abr. de 2015
Respuestas (1)
Denis Gurchenkov
el 7 de Abr. de 2015
0 votos
I don't think there is a way to "fast forward" the simulation time. However, you can achieve nearly same result by placing your blocks into a conditionally executed subsystem, and configure it so that the subsystem is not executed for the next N samples. Would this work for you?
1 comentario
abc NP
el 7 de Abr. de 2015
Categorías
Más información sobre Programmatic Model Editing en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!