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

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 comentarios

What are you passing to print()
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{:});
Hi Kalyan, I think you meant to use disp(A); instead of print(A);.

Iniciar sesión para comentar.

Respuestas (2)

Nathan Daubenmier
Nathan Daubenmier el 22 de En. de 2021
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!

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 8 de Oct. de 2017

Comentada:

el 7 de Abr. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by