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

조회 수: 228 (최근 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 CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by