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

3 次查看(过去 30 天)
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!

采纳的回答

Walter Roberson
Walter Roberson 2015-11-14
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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by