필터 지우기
필터 지우기

How import matlab figure in Excel via VBA

조회 수: 1 (최근 30일)
Massimo Laspia
Massimo Laspia 2017년 7월 27일
답변: Massimo Laspia 2017년 8월 3일
Hi, I need to import Matlab figures, generated by a code, into Excel. I'd like to do this via VBA. MLGetFigure permits to import the current figure but in matlab I created 4-5 figure. Which command should I use in VBA?
Thanks
Massimo

답변 (2개)

Nirav Sharda
Nirav Sharda 2017년 8월 2일
There are multiple ways to do this. You can save the MATLAB figures as .jpg files and import them in Excel. You can also use the ActiveX Automation client feature of MATLAB and start Excel, then print the figure to clipboard and then insert the clipboard contents in Excel as mentioned in the following MATLAB Answers post.
I hope this helps.

Massimo Laspia
Massimo Laspia 2017년 8월 3일
thanks

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by