Rotate screen orientation by m-file.
조회 수: 2 (최근 30일)
이전 댓글 표시
How to rotate the orientation of the second screen from landscape to portrait on a dual-monitor system
댓글 수: 0
답변 (1개)
Pratyush
2023년 11월 16일
Hi Kei,
I understand that you want to change your screen's orientation using matlab script. Rotating the screen orientation programmatically is generally not within the scope of MATLAB's functionality. MATLAB is primarily designed for numerical computing, not for controlling system-level settings.
However, you can potentially accomplish this by using MATLAB to call a system command using the "system()" function, provided that there is a command-line utility available on your system that can change screen orientation.
I think "DisplaySwitch.exe" on windows machine could help you achieve this.
Hope this helps.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!