|
|
| File Information |
| Description |
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) |
| Acknowledgements |
This submission has inspired the following:
maxfig, WindowAPI
|
| MATLAB release |
MATLAB 6.1 (R12.1)
|
| Other requirements |
Windows Platform |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (7) |
| 25 Jul 2002 |
R M
|
|
|
| 28 Nov 2002 |
Jocke K
|
|
|
| 22 Jan 2003 |
Yuval Cohen
|
|
|
| 03 Apr 2003 |
Alex V
|
|
|
| 12 Apr 2003 |
Nitesh Bhandari
|
|
|
| 22 May 2003 |
Matthew Simoneau
|
|
|
| 06 Nov 2011 |
NK University
|
|
|
|
Contact us at files@mathworks.com