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

3 vues (au cours des 30 derniers jours)
William
William le 14 Nov 2015
Commenté : William le 30 Nov 2015
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!

Réponse acceptée

Walter Roberson
Walter Roberson le 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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by