Using export_fig with publish
Afficher commentaires plus anciens
I've been using the publish feature a lot lately, but the figures it produces are absolutely lousy. Is there a way to tell publish to use export_fig? My only workaround now is exporting manually after running publish, then overwriting the figures generated by publish.
Réponses (1)
Sean de Wolski
le 20 Août 2014
You could export_fig to save it to a file and then use the image markup tag to add it to the published report.
export_fig('.\html\pica.png') % save to html directory
close % make sure it's not there to be snapped
3 commentaires
Chad Greene
le 22 Août 2014
Sean de Wolski
le 22 Août 2014
I don't know of anyway outside of turning off code capture altogether.
Sean de Wolski
le 22 Août 2014
If you're publishing to html, you could probably regexp the file after. I do this to remove the contents section on my blog posts.
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!