Calling MATLAB from PowerPoint

Here are 5 simple steps that will have you executing your MATLAB code from PowerPoint in no time!
Updated 1 Sep 2016

View License

A white paper that describes a simple workflow, using VB code (provided in a sample Master.bas file), to call any MATLAB code or to run any MATLAB files from within PowerPoint. Simply edit the .bas file per the instructions, and load it into your PowerPoint. Then edit any object in the PowerPoint to modify its Action Settings, select Run Macro, steer to the proper macro, and you're up and running.
Also includes a tip for managing demos, code, etc. from a single-source *.BAS document.

Cite As

Brett Shoelson (2024). Calling MATLAB from PowerPoint (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on MATLAB Report Generator in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated license

saved white paper as PDF; added copyrights

updated license file to The MathWorks

added copyright