How can I insert an image when publishing a document?
조회 수: 74 (최근 30일)
이전 댓글 표시
I would like to publish a MATLAB code into an html and pdf files and I want to insert an image from my computer into the code i.e. NOT a figure from MATLAB.
댓글 수: 0
답변 (3개)
Jared Evans
2020년 3월 10일
Also make sure it's on a new line. Took me an hour to figure out my mistake
%
% <<yourFile.jpg>>
댓글 수: 2
Imola Fodor
2022년 3월 17일
hello, this should also work in the live editor? putting it in a code section?
Jan
2017년 8월 22일
This code inserts a generic image called FILENAME.PNG into your published output.
<<FILENAME.PNG>>
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!