Mercurial > repos > public > sbplib
comparison TextTable.m @ 979:7a5e770974ed feature/timesteppers
Merge with default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 07 Jan 2019 16:26:00 +0100 |
parents | f30eafd6d4dc |
children |
comparison
equal
deleted
inserted
replaced
933:34b3d092a4d0 | 979:7a5e770974ed |
---|---|
37 obj.fmtArray(:,:) = {fmt}; | 37 obj.fmtArray(:,:) = {fmt}; |
38 end | 38 end |
39 | 39 |
40 function formatCell(obj, i, j, fmt) | 40 function formatCell(obj, i, j, fmt) |
41 obj.fmtArray{i,j} = fmt; | 41 obj.fmtArray{i,j} = fmt; |
42 end | |
43 | |
44 function formatGrid(obj, I, J, fmt) | |
45 for i = I | |
46 for j = J | |
47 obj.fmtArray{i,j} = fmt; | |
48 end | |
49 end | |
42 end | 50 end |
43 | 51 |
44 function formatRow(obj, i, fmt) | 52 function formatRow(obj, i, fmt) |
45 obj.fmtArray(i,:) = {fmt}; | 53 obj.fmtArray(i,:) = {fmt}; |
46 end | 54 end |