Why do I receive an error when trying to copy figure from figure editor ?

2 views (last 30 days)
I got an error while trying to copy a figure from the figure editor.I read this in the Command window: Error using print (line 215) Insufficient Java memory to create the output. Increase the Java Heap Size setting in the MATLAB preferences.
Error in matlab.graphics.internal.copyFigureHelper>newFigureCopy (line 166)
Error in matlab.graphics.internal.copyFigureHelper (line 14)
Error in editmenufcn (line 65) matlab.graphics.internal.copyFigureHelper(hfig)
Error while evaluating Menu Callback Thanks in advance, Dimitris
  2 Comments
Walter Roberson
Walter Roberson on 7 Feb 2018
Go into the MATLAB preferences and increase the Java Heap preference. You will need to restart MATLAB for the change to take effect.
Dimitris Pap
Dimitris Pap on 7 Feb 2018
I increased it up to 800MB, the error didn't appear, i still can't paste the figure anywhere though.

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!