Print Error using printdlg (line 63)
Show older comments
Hi,
I recently has a problem with print/copy a figure in MATLAB 2018b. I can not export or copy any figure in order to put into latex or word. The error shows up when I use "Copy Figure" in "Edit" menu in any figure:
Error using matlab.graphics.internal.copyFigureHelper (line 158)
The fourth input argument, FLAG, passed to MEX level2 S-function "print" must be an integer.
Error in editmenufcn (line 69)
matlab.graphics.internal.copyFigureHelper(hfig)
Error while evaluating Menu Callback.
And similarly, when I use the print option in "File" menu. Any idea why I get this problem. I highly appreciate for your help.
Error using printdlg (line 63)
MEX level2 S-function "print" must be called with at least 4 input arguments.
Error while evaluating PushTool ClickedCallback.
1 Comment
Walter Roberson
on 19 Aug 2019
What shows up for
which -all print
You should expect something like
/Applications/MATLAB_R2019a.app/toolbox/matlab/graphics/printing/print.m
and a series of items marked as "method".
I suspect you have part of a Simulink model in your path.
Accepted Answer
More Answers (1)
Dustin Ho
on 3 Sep 2019
0 votes
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!