|
"smar " <smar234@yahoo.com> wrote in message
news:h66pj3$ql6$1@fred.mathworks.com...
>I have a simulink model with inputs from seven sensors.
> The fastest sample rate I can set is 0.001 s ( 1 KHz )
>
> Setting more fast give a CPU overload error.
> I have USB and Memory management off in BIOS.
>
> I want to achieve the sample rate of 0.00002 (50 KHz)
>
> Is it achievable?
> I do not want to decrease input lines. What else can I do.?
> Thanks
Do you need the model and/or the inputs/outputs at 50 kHz? You may be able
to get the model to run at 50 kHz and the inputs/outputs at a slower rate
and insert some rate transitions after the inputs / before the outputs.
Other than that, you'll have to either get a machine with a more powerful
CPU and/or simplify your model so that it runs faster. The compiler can also
affect performance. For example, Microsoft Visual Studio (prof. edition) is
generally better than Open Watcom. Which compiler are you using? Try turning
optimizations on.
Good luck,
Arnaud
|