Thread Subject: Real Time Workshop

Subject: Real Time Workshop

From: POP

Date: 2 Oct, 2007 17:47:33

Message: 1 of 2

Hi,

I am trying to make an executable file out of my Simulink model using Real Time Workshop. My model is configured to use Variable-step solver and converting it to Fixed will change the dynamics. How can I use Real Time Workshop with Variable-step Solver?

Thanks

Subject: Real Time Workshop

From: Srikanth

Date: 3 Oct, 2007 05:25:47

Message: 2 of 2

Hi
I'm not exactly sure, but on the surface, that looks to me that there
is no way to do that for most targets. The whole point in real time is
to execute your algorithm within a finite, fixed interval, to get an
output definitely at every sample time. If your algorithm is not
assured to finish in that time (which is what you are effectively
saying when you want a variable time steps), you are saying that you
might not get an output at every sample time, which defeats the
purpose of real-time.
HTH
Srikanth

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com