Handling MATLAB Events in Excel
by Peter Webb
02 Aug 2006
(Updated 17 Nov 2010)
Source code for Sept. 2006 News and Notes Programming Patterns article.
|
Watch this File
|
| File Information |
| Description |
The Global Temperature Explorer application demonstrates how to integrate MATLAB GUIs into Excel by writing Visual Basic callbacks that can respond to events generated by the GUI.
The application consists of two parts, a COM component generated by MATLAB Builder for .NET, and a Visual Basic class module that integrates the COM component into Excel. The COM component consists of M-files and data files; it displays a data navigation GUI and exports two events: "DisplayLocation" and "PlotTempData". The Visual Basic
code contains callbacks that respond to the exported events and a macro used to launch the data navigation GUI.
|
| Required Products |
MATLAB Builder NE
MATLAB Compiler
|
| MATLAB release |
MATLAB 7.2 (R2006a)
|
| Other requirements |
Tested on Windows XP, Service Pack 2.
Microsoft Visual Studio 2003 or later (to compile COM component).
Microsoft Excel (to run the application). |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (3) |
| 05 Oct 2009 |
Baiju Max
|
|
|
| 16 Dec 2006 |
Hipson Israel
|
|
|
| 16 Dec 2006 |
Hipson Israel
|
|
|
| Updates |
| 17 Nov 2010 |
Added BSD license. |
|
Contact us