disptables

Adjust figure to fit MATLAB generated uitables.
213 Downloads
Updated 31 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)
% Please visit aarae.org to see a project where this file is being used!

Cite As

Daniel Jimenez (2024). disptables (https://www.mathworks.com/matlabcentral/fileexchange/46075-disptables), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0