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

5 次查看(过去 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 个)

类别

Help CenterFile Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by