How to merge text followed by a figure or vice versa in one single PDF or some other File.
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mahesh
le 20 Juil 2015
Commenté : perveen ali
le 3 Août 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 commentaires
Réponse acceptée
Sudhanshu Bhatt
le 22 Juil 2015
Modifié(e) : Sudhanshu Bhatt
le 22 Juil 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 commentaire
perveen ali
le 3 Août 2017
Hi @Sudhanshu-bhatt any way other than publish/report generator in 2017a version? thanks.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Report Generator dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!