api_showwindow

The function warps the WIN32 ShowWindow API in User32.dll.

이 제출물을 팔로우합니다

When using MATLAB on windows platforms one could write MEX files to access the WIN32 API functions. However such a tutorial is difficult to find.

I decided to post an example with a commented C-MEX file that will demonstrate how to accurately find the windows handle of a MATLAB figure window and then do some API command on it.

For simplicity I selected the 'ShowWindow' API because it can be used to solve the 'common' figure maximization problem. (maximizefigure.m sample included)

인용 양식

Mihai Moldovan (2026). api_showwindow (https://kr.mathworks.com/matlabcentral/fileexchange/2041-api_showwindow), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 준 파일: maxfig, WindowAPI

카테고리

Help CenterMATLAB Answers에서 Interactive Control and Callbacks에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0