Publish with automatic figure insertion
In many situations, plain raster graphic versions of the plots, inserted in documents produced with the publish command, limits a potential curious reader from digging deeper into the fine details of the data.
Even though it is always possible to provide of as many aspects of the data as needed, it will always result impractical, and maybe impossible to predict what our readers would need or want to see in detail.
pbl.doc() automates the process of converting every figure opened in current session into the Matlab's *.fig format, so they can be appended at the end of the published Word document, making this tedious task a very simple process.
The implementation makes use of MSOffice's activeX API to manipulate the published document.
Cite As
Ruben D. Gonzalez L. (2024). Publish with automatic figure insertion (https://www.mathworks.com/matlabcentral/fileexchange/44704-publish-with-automatic-figure-insertion), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.3.0.0 | Added a new option to insert *.fig files after each plot picture in published document: "figsAfterPics=true".
|
||
1.1.0.0 | After realizing the ActiveX capabilities of Matlab, it was straight forward to port the VBS script implementation to its Matlab equivalent. Version 2 of the implementation removes the use of cscript.exe as a VBS interpreter. |
||
1.0.0.0 |