From: Robert on
I am simulating a spacecraft timekeeping system using Simulink. The system runs off of a 1 MHz clock. Accordingly, the simulation progresses with a step size of (10^-6)/2. I found that it takes roughly two minutes of real world time to simulate 1 second of spacecraft time.

Is there any way to optimize or speed up the simulation?
From: Will Campbell on
Hi Robert,
There is a webinar on ways to speed up Simulink at
http://www.mathworks.com/company/events/webinars/wbnr38540.html. My listed
set of suggestions are
1.Try the Simulink Accelerator
2.Run the Simulink Profiler
3.Remove complex graphics
4.Avoid calls to MATLAB
5.Use optimal settings
6.Reduce model interactivity
7.Reduce model fidelity
8.Choose a proper solver

In general, a simulation with a time step that small is going to take a bit
of time. You're asking your machine to solve everything in your model 2
million times.

Cheers,
-Will

"Robert " <robert.misleh(a)atk.com> wrote in message
news:hmgjip$7nt$1(a)fred.mathworks.com...
>I am simulating a spacecraft timekeeping system using Simulink. The system
>runs off of a 1 MHz clock. Accordingly, the simulation progresses with a
>step size of (10^-6)/2. I found that it takes roughly two minutes of real
>world time to simulate 1 second of spacecraft time.
>
> Is there any way to optimize or speed up the simulation?