image thumbnail

disptables

version 1.1.0.0 (4.08 KB) by Daniel Jimenez
Adjust figure to fit MATLAB generated uitables.

10 Downloads

Updated 28 Mar 2014

View License

% fighandle = disptables(fig,tables) helps resize figures in order to
% better display MATLAB generated uitables. If fig is a single figure
% handle the function will adjust the array of handles corresponding to
% the tables input or adjust the limits of the figure to a single table
% handle.
%
% fig and tables can be arrays of handles. E.g.:
% fighandle = disptables(fig,tables); - where fig and tables are a single
% figure handle and a single uitable handle.
%
% tables = [t1 t2 t3];
% fighandle = disptables(fig,tables); - where fig is a single figure
% handle and tables is an array of uitable handles.
%
% fig = [f1 f2 f3];
% tables = [t1 t2 t3];
% fighandle = disptables(fig,tables); - where fig is an array of figure
% handles and tables is an array of uitable handles.
%
% As added functionality, by clicking in the grey area outside the
% displayed uitable you can automatically copy the displayed tables into
% your computer's clipboard to export it to text editing software such as
% Microsoft Excel.
%
% See also copytoclipboard
%
% Code by Daniel R. Jimenez for the AARAE project. (28 March 2014)

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!