combine 2 models with different time velocity

Hi,
I have two model with different velocity. In my first model the simulation of 1 second(simulation time) takes 15 minutes in(real time). In my second one 100 seconds of simulation time takes only a few seconds of real time.
I integrated the second-model in the first-model with a Model-Block. So there is a communication wire, which is for data transfer.
I will read a value every 10 seconds from the second one to the first one.
The Problem:
There is different time velocities. When I start the simulation it simulates only 1 second. But the second Model simulates 1 second too although the end time is 100.
I want that the second one simulates until its end time.
I'd appreciate for some help, thanks

Respuestas (0)

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 22 de En. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by