Collect Monitor Refresh Rate?
이전 댓글 표시
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?
채택된 답변
추가 답변 (1개)
Jason Ross
2013년 4월 17일
편집: Jason Ross
2013년 4월 17일
1 개 추천
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
2013년 4월 17일
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.
카테고리
도움말 센터 및 File Exchange에서 Signal Attributes and Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!