Anyway to copy and paste figures to Onenote in OSX?

9 ビュー (過去 30 日間)
jl
jl 2017 年 3 月 8 日
回答済み: Arda Aksu 2021 年 9 月 17 日
I am running 2016b and the latest version of Onenote on OSX ElCapitan.
Cannot cut and paste figures to OneNote. Is there a way to get around this?
cheers

回答 (2 件)

Gillian Rosen
Gillian Rosen 2017 年 3 月 13 日
Hi, 
I understand that you would like to copy and paste figures from MATLAB to OneNote, but you are having trouble doing so. 
If you are not able to copy the figure using "Edit > Copy Figure", you can try copying programmatically using the 'print' command. For example, to copy your figure as a bitmap image, execute the following command in the MATLAB Command Window: 
>> print('-clipboard','-dbitmap')
After executing this command, you should be able to paste the figure into OneNote. If this does not work for you, you can try saving your figure as an image using "File > Save As..." and then inserting the image into OneNote. 
For more information on the 'print' command, see the following documentation links:  
  1 件のコメント
Dovletgeldi Seyitliyev
Dovletgeldi Seyitliyev 2020 年 4 月 26 日
Why do I have to do this? It works, but it's annoying for mac users

サインインしてコメントする。


Arda Aksu
Arda Aksu 2021 年 9 月 17 日
I guess they don't care MAC users. This issue is really annoying. Though this is nothing when compared with magic mouse right click issue.
Anyway, workaround solution;
open editmenufcn.m
instead of "matlab.graphics.internal.copyFigureHelper(hfig)" command, use "print(hfig,'-clipboard','-dbitmap')"

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by