Collect Monitor Refresh Rate?

6 次查看(过去 30 天)
Hi, I wanna create a visual blinking object, and set this period and time by monitor refresh rate. how can I finde monitor refresh rate, and how can I control my monitor using simulink?

采纳的回答

Jan
Jan 2013-4-17
What kind of monitor do you have? The times of multi-sync monitors passed by for over a decade now, so I'm not convinced that you can control the refresh rate at all.
  2 个评论
omid jab
omid jab 2013-4-17
tanx, my monitor is an LCD monitor. I don't want control refresh rate. I wanna determine the content displayed on any monitor refresh (frame).
Jan
Jan 2013-4-17
It's not getting clear to me, what you are looking for. What is "the content displayed on any monitor refresh (frame)"? Do mean mean a screen shot?

请先登录,再进行评论。

更多回答(1 个)

Jason Ross
Jason Ross 2013-4-17
编辑:Jason Ross 2013-4-17
If you are on Windows, you can get and set this using WMI (Windows Management Instrumentation). If you google for "wmi screen refesh rates" there are plenty of examples of how to access WMI and manipulate screen parameters. You'd need to write some code to get at the information, though -- there's not a direct way to get at it in MATLAB.
I suspect that for most monitors nowadays, the refresh frequency is 60 Hz.
Setting your display parameters by running an application seems kind of odd, though -- usually you'd expect an application not to do such a thing.
  2 个评论
omid jab
omid jab 2013-4-17
thanks for your answer, yes I'm on windows. I know my monitor refresh frequency. it's near 60 Hz and can be set to 75 Hz. I didn't know WMI. thanks for introduce it to me. I wanna to determine individual frame. Can WMI help me?
Jason Ross
Jason Ross 2013-4-17
编辑:Jason Ross 2013-4-17
I don't think so. It's an interface that's used to get information from Windows. I'd suspect that you would need to look more into the technologies behind things like VNC or display drivers to get that information.
You could also look at ways to generate a screen shot automatically and do something with that image.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by