How to change screen resolution and refresh rate using matlab code?

9 views (last 30 days)
Hi all, I need to known how to change the screen resolution and refresh rate of PC using matlab code. I am very appreciate your answers! Thank you!

Accepted Answer

Walter Roberson
Walter Roberson on 14 Nov 2015
Changing the screen resolution and refresh rate is too operating-system specific to be included in MATLAB. You will need to call so external code or utility. You will need to do one of the following:
  1. find an ActiveX / COM control that can do the work for you
  2. find some Java that will do the work for you
  3. call an external utility using system() or dos(), such as one of the ones mentioned in this link
  4. Use the Psychometrics Toolbox Resolution() call

More Answers (0)

Community Treasure Hunt

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

Start Hunting!