when i draw a figure and when i want to copy the figure from Edit/copy figure , matlab have this error"??? Attempt to execute SCRIPT print as a function:

1 view (last 30 days)
when i draw a figure and when i want to copy the figure from Edit/copy figure , matlab have this error
??? Attempt to execute SCRIPT print as a function:
C:\Users\nima\Documents\MATLAB\print.m
Error in ==> editmenufcn at 76
uimenufcn(hfig, 'EditCopyFigure'):
what am i doing??

Answers (1)

Walter Roberson
Walter Roberson on 1 Feb 2013
You created your own "print.m" routine that is interfering with printing / copying. You should look at your file C:\Users\nima\Documents\MATLAB\print.m and consider renaming it.
  1 Comment
Jan
Jan on 1 Feb 2013
Shadowing built-in or toolbox functions leads to problems frequently. Although I have a tool to catch overlapping function names, I do not assume that it is useful to publish it in the FEX: I assume, that only advanced users would download it and especially they are not the target of this functions.

Sign in to comment.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!