I have a software (.exe) done using MATLAB but I don't have access to the source code.
This software contains a figure plot that allows to be saved in jpg/png/etc. or copied to the clipboard (as an image), or also "copy as vector graphics".
My goal would be to paste this in a MATLAB Figure in order to adjust a few parameters such as font size, colorbar, etc.
I've tried the following commands but it doesn't work:
clipboard('paste')
clipboard('pastespecial')
clipboard function gives me an empty variable as output.
Can anyone tell me how I could paste this "vector graphics" in MATLAB in order to reproduce the figure?
Thanks

 채택된 답변

Navya Singam
Navya Singam 2021년 10월 26일

2 개 추천

Hi Benjamin,
"clipboard('paste')" and "clipboard('specialpaste')" are used to paste the text data on to MATLAB.
Pasting Vector Graphic data into MATLAB Figure window is not supported as of MATLAB R2021b.
This feature might be supported in a future release.
IMCLIPBOARD function from File Exchange is used for the image data. Please feel free to contact the author for more information.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2021년 10월 11일

답변:

2021년 10월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by