Publishing multiple files at once in matlab

92 views (last 30 days)
hello everyone The problem is that I have about 4 or 5 m-files but I was asked to publish the output of all of them in 1 pdf file only
does anybody have any idea how to do it ??? help me please thank you guys so much

Answers (1)

Aksel Sørbye
Aksel Sørbye on 6 Sep 2019
To publish functions located in other m-files, write the following in the file you're publishing from:
%% "Your own headline here"
% <include>anotherFunction.m</include>
%% "Another headline here"
% <include>bonusFunction.m</include>

Community Treasure Hunt

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

Start Hunting!