Handling MATLAB Events in Excel

Source code for Sept. 2006 News and Notes Programming Patterns article.
2.7K Downloads
Updated 17 Nov 2010

View License

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.

Cite As

Peter Webb (2024). Handling MATLAB Events in Excel (https://www.mathworks.com/matlabcentral/fileexchange/11868-handling-matlab-events-in-excel), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Added BSD license.

1.0.0.0