Can't change matlab priority in windows

4 views (last 30 days)
Martin
Martin on 24 Oct 2012
I need to use matlab in Realtime, but when I go to the task manager and try to change it, its givimg me an error:
Unable to set Realtime priority. The priority was set to High instead...
I tried to do so with other application, the result is the absolutly the same...
I am using Windows 7 Home Edition(retail)
Regards, Martin

Answers (3)

Azzi Abdelmalek
Azzi Abdelmalek on 24 Oct 2012
Edited: Azzi Abdelmalek on 24 Oct 2012
I think RTW handle setting higher priority to your application.What we need is that your model runs with higher priority (not the RTW). Have you tried to build your model and connect it to the target, what kind of error did you get?

Martin
Martin on 24 Oct 2012
oh... I fix it, just forgot that win7 needs admin rights for everything....
I am trying to build something with Arduino, but matlab some times slows down, because its has not enough priority level ... So I need a RealTime priority level but I see almost no change, yea its faster but not enough ... If my machine make mistake, because its slows down its gonna be desaster...
Any idea how to make it faster ?
I am trying to follow the speed of a brushless motor trugh Serial Communication from arduino + the sensors buts its like not enoigh faster...
If I do it under Linux is there gonna be any changes ?
Regards, Martin
  1 Comment
Azzi Abdelmalek
Azzi Abdelmalek on 24 Oct 2012
To make it faster, more money!
  • pc with more memory and speed
  • don't work under windows or any OS, use for example Xpc target toolbox.
with rtw you are limited in speed.
what is your sample time?

Sign in to comment.


Martin
Martin on 24 Oct 2012
My PC has 8 GB of RAM, i7 intel Core
The PC is very good
and now I will see the lib that you mention thanks for now ...

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!