Get screen size (dynamic)

버전 1.0.0.1 (3.57 KB) 작성자: Bill York
Same as get( 0, 'ScreenSize' ), but dynamic
다운로드 수: 3.8K
업데이트 날짜: 2016/9/1

라이선스 보기

GETSCREENSIZE Same as get( 0, 'ScreenSize' ), but dynamic

SZ = GETSCREENSIZE returns a 1x4 vector of doubles giving the size of the display in pixels, in the same way as get( 0, 'ScreenSize' ), except it reads the current settings rather than reading a static copy made at MATLAB® startup time.
From "doc rootobject_props":

"Note that the ScreenSize property is static. Its values are read only at MATLAB startup and not updated if system display settings change."

Some applications place windows based on on the display resolution, and the resolution can change - mine does when I disconnect my laptop from my external monitor.

인용 양식

Bill York (2024). Get screen size (dynamic) (https://www.mathworks.com/matlabcentral/fileexchange/10957-get-screen-size-dynamic), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Performance and Memory에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

getScreenSize/

버전 게시됨 릴리스 정보
1.0.0.1

Updated license

1.0.0.0