Rank: 149775 based on 0 downloads (last 30 days) and 0 file submitted
photo

Jonathan Lee

E-mail
Company/University
Triumph Aerospace Systems Seattle

Personal Profile:

Working as an electrical engineer in the R&D department of Triumph Aerospace Systems Seattle

Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Jonathan
Updated File Comments Rating
17 May 2013 Printing Variables to HTML Tables in Published Code This file lets you display variables as HTML tables in your published MATLAB files. Author: Ned Gulley

For tables in publish mode I'm using:

f = figure(1);
set(f,'Position',[500 500 300 150]);
dat = {' a', 1, ' units';...
' b', 2, ' units';...
' c', 3, ' units';...
' d', 4, ' units';...
' e', 5, ' units';...
' f', 6, ' units';};
columnname = {'Parameter', 'Value', 'Units'};
columnformat = {'char', 'numeric', 'char'};
t = uitable('Units','normalized','Position',...
[0.05 0.05 0.755 0.87], 'Data', dat,...
'ColumnName', columnname,...
'ColumnFormat', columnformat,...
'RowName',[]);

Contact us