How can I print the content of table?
2 views (last 30 days)
Show older comments
Hi all ..
I have a table and I need to print its contents I tried this but I get errors:
A = (T.Data)
print (A);
Errors:
Error using checkArgsForHandleToPrint
Handle input argument contains nonhandle values.
Error in checkArgsForHandleToPrint
Error in print>LocalCreatePrintJob (line 216)
handles = checkArgsForHandleToPrint(0, varargin{:});
Error in print (line 38)
[pj, inputargs] = LocalCreatePrintJob(varargin{:});
Error in HistoryTable>Print_Callback (line 128)
print (A);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in HistoryTable (line 16)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)HistoryTable('Print_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
Thank you.
6 Comments
Walter Roberson
on 6 Apr 2018
You can use publish() to create html or pdf that can then be printed. print() is not appropriate for this purpose.
Answers (0)
See Also
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!