Non-zero start time in Rapid Simulation Target
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
When I try to execute my Simulink model using the Rapid Simulation target and the Start time is non-zero, I get the following error:
"Start time must be zero for real-time systems. For non-zero start times you must use the Simulink solver module."
This warning apparently comes from rt_sim.c.
My questions:
1. Why can't I use a non-zero start time? (Why should it matter what the value of t0 is?) 2. What does "you must use the Simulink solver module" actually mean? Does it mean I can't compile my model? i.e. I must open the model and click the run button? 3. Is there a way around this? I've tried to set solver options and pass them in using the -S flag, but this doesn't work. 4. Perhaps I have to set Start_time=0 in the model gui, but pass in a non-zero start time?
0 Commenti
Risposte (1)
Guy Rouleau
il 13 Dic 2013
I will not go into details... with RSim target you have an option to choose a solver. See this link to see how to configure this parameter:
With the Simulink solver, you have more flexibility.
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!