Print broken in R2014b?

3 ビュー (過去 30 日間)
Todd Hufnagel
Todd Hufnagel 2014 年 10 月 9 日
コメント済み: Eric Rogers 2015 年 4 月 21 日
Just updated to R2014b and printing a figure to a file seems to be broken. For example, even this minimal example taken directly from the print help yields the following error:
>>h = figure; >>plot(1:4,5:8) >>print(h) Error using printopt Too many input arguments.
Error in matlab.graphics.internal.mlprintjob (line 114)
Error in printjob (line 22) pj = matlab.graphics.internal.mlprintjob;
Error in print>LocalCreatePrintJob (line 337) pj = printjob([handles{:}]);
Error in print (line 153) [pj, inputargs] = LocalCreatePrintJob(varargin{:});
Any help would be appreciated.
Thanks,
Todd Hufnagel

回答 (1 件)

Richard Quist
Richard Quist 2014 年 10 月 9 日
It sounds like you might have a function named printopt that is conflicting with the one the is shipped with MATLAB. What results do you get when running the following code?
which -all printopt
There should be just one entry under matlab\toolbox\local. If there are any others, rename them or move them to a location that is not on your MATLAB path.
  1 件のコメント
Eric Rogers
Eric Rogers 2015 年 4 月 21 日
That worked, thanks!

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

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by