How to add image in existing ppt with matlab code
Afficher commentaires plus anciens
I have standard powerpoint format in which I want to add graphs of different applications. and this procedure is repetative. so can someone tell me how can I do this with matlab code?
Réponses (1)
Selva Karna
le 28 Jan 2020
clc
clear all;
close all;
import mlreportgen.ppt.*
slidesFile = 'myPicturePresentation.pptx';
slides = Presentation(slidesFile);
add(slides,'Title Slide');
add(slides,'Title and Content');
plane = Picture(which('b747.jpg'));
plane.Width = '5in';
plane.Height = '2in';
replace(slides,'Content',plane);
close(slides);
2 commentaires
Walter Roberson
le 28 Jan 2020
This requires the MATLAB Report Generator, I believe.
It would help if the code could show selecting a particular slide given the index.
Ashwini More
le 28 Jan 2020
Modifié(e) : Ashwini More
le 28 Jan 2020
Catégories
En savoir plus sur MATLAB Report Generator dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
