What does the error `Error in checkArgsF​orHandleTo​Print` mean?

225 ビュー (過去 30 日間)
Brando Miranda
Brando Miranda 2017 年 10 月 8 日
コメント済み: Rami A 2023 年 4 月 7 日
What does the error:
Error using checkArgsForHandleToPrint
Handle input argument contains nonhandle values.
Error in checkArgsForHandleToPrint
Error in print>LocalCreatePrintJob (line 97)
handles = checkArgsForHandleToPrint(0, varargin{:});
Error in print (line 38)
[pj, inputargs] = LocalCreatePrintJob(varargin{:});
if possible, how does one fix it too would be nice.
  3 件のコメント
Kalyan
Kalyan 2023 年 1 月 25 日
A=[1,2,3,4,5,6,7,7,7];
c=unique(A)
print(A);
same error
Error using checkArgsForHandleToPrint
Handle input argument contains nonhandle values.
Error in checkArgsForHandleToPrint
Error in print>LocalCreatePrintJob (line 97)
handles = checkArgsForHandleToPrint(0, varargin{:});
Error in print (line 38)
[pj, inputargs] = LocalCreatePrintJob(varargin{:});
Rami A
Rami A 2023 年 4 月 7 日
Hi Kalyan, I think you meant to use disp(A); instead of print(A);.

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

回答 (2 件)

Nathan Daubenmier
Nathan Daubenmier 2021 年 1 月 22 日
Try using :
fprintf('Info you are trying to print: %f', data_name);
rather than:
print('Info you are trying to print: %f', data_name);
Hope this helps!

mengqiu ren
mengqiu ren 2018 年 9 月 28 日
I have the same question.Have you solved it?

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by