Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Real Time Windows Target sampling frequency is low

Subject: Real Time Windows Target sampling frequency is low

From: Kapil

Date: 20 Mar, 2014 06:53:08

Message: 1 of 3

I am running the RTWT simulations with a sampling frequency of 50 kHz at present, with MATLAB performance of 80%. But this sampling frequency is not sufficient for me and I have to go for higher sampling frequency. If I do that, either the MATLAB gives an error that this sampling frequency is very high or sometimes the system hangs after running for a very brief period of time.

I am using MATLAB2012 with Intel Core i3 550 processor. Will the issue get resolved if I use some other version of MATLAB or by using a processor with better single core performance such as Intel Core i7 4770K?

If anyone has any idea please help me in this regard.

Thanks a lot.

Subject: Real Time Windows Target sampling frequency is low

From: Phil Goddard

Date: 20 Mar, 2014 23:48:08

Message: 2 of 3

Achievable sample rate is heavily dependent on your OS and processor.
Using a non-real time OS such as Windows, on a non-real time processor such as a desktop or laptop, getting 50kHz is an above average sample rate.

But to answer your direct questions, changing the MATLAB version will have next to no effect.
Getting a faster processor will most likely allow a faster sampling rate.

But at the rates that you are talking about you need to consider going to a dedicated processor with a real-time OS on it.

Phil.

Subject: Real Time Windows Target sampling frequency is low

From: Kapil

Date: 21 Mar, 2014 05:32:08

Message: 3 of 3

Thanks a lot Phil. It was very helpful. I will go for a better processor.

Tags for this Thread

No tags are associated with this thread.

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.

Contact us