How to merge text followed by a figure or vice versa in one single PDF or some other File.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mahesh
am 20 Jul. 2015
Kommentiert: perveen ali
am 3 Aug. 2017
Hi. I am trying to prepare some results file from matlab. I want to write some alpha numeric results first and then I would like to add figures and then followed by some texts and so on. Do you have any idea to make such things? It would be great to have some help from you.
Thanks in advance.
Mahesh
0 Kommentare
Akzeptierte Antwort
Sudhanshu Bhatt
am 22 Jul. 2015
Bearbeitet: Sudhanshu Bhatt
am 22 Jul. 2015
Hi Mahesh,
Below mentioned are two of the few ways of achieving text, images and alphanumeric characters in one file:
Method 1: Using the "Publish" menu in MATLAB R2014a and later releases
Step 1: Create a MATLAB script with sections, comments and code that needs to be published
Step 2: Click on Publish Menu -> Publish
This step will create a HTML folder in your current directory and create an HTML file with published results from MATLAB script.
More information on publishing your code using MATLAB Desktop can be found in the link below:
Method 2: Using "publish" function in MATLAB
Step 1: Create a MATLAB script that needs to be published.
Step 2: Creating a PDF file using command line:
On MATLAB command line type:
>> publish('file_that_needs_to_be_published','pdf');
This command will create a PDF format file with published results in the HTML folder of your current directory.
More information on "publish" function and different supported formats can be found in the documentation link below:
Alternatively, you can also use the Report Generation Tool to generate reports containing text and code etc. : Formatting With MATLAB Report Generator
More information on the Report Generation Tool can be found in the link below:
Hope this helps.
Thanks
Sudhanshu Bhatt
1 Kommentar
perveen ali
am 3 Aug. 2017
Hi @Sudhanshu-bhatt any way other than publish/report generator in 2017a version? thanks.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!