How to programmatically maximize a MATLAB Desktop window from C# code

조회 수: 6 (최근 30일)
In my C# code I create a full desktop MATLAB session. Is there a way to programmatically maximize the MATLAB Desktop window from C#?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 12월 10일
You can use Microsoft's ShowWindow method to manipulate the MATLAB desktop window.
To see an example of how to do this, download the appropriate file:
These examples show you how to maximize the desktop window. Other manipulations, such as minimizing, can be implemented in a similar way using the appropriate ShowWindow parameter.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 .NET Methods in MATLAB에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by