Table in matlab
显示 更早的评论
I usually use uitable to do tables, but it doesnt satisfy me. I should get to this result:
N M F MAge SD
Healthy 23 11 12 55 2.5
MyoInfarct 23 17 6 54 6.3
P Yes
Or kinda similar. N, M, F are fixed data, Mage and SD are unknown and calculated eachm time, P should be Yes or No but 1 and 0 works fine as well. The problem is that first of all i'm not able to leave blank spaces in the P-row without using NaN,but this is not the problem,the real problem is this:
回答(1 个)
Walter Roberson
2012-1-27
1 个投票
You will probably have to convert all of your entries to strings and store the strings in the uitable cells.
There is no provision otherwise for blank entries, and there is no provision for a row to have column entries that are not the same type as the entries above.
1 个评论
Eric Keller
2012-1-30
this is what I do, it also allows better formatting
类别
在 帮助中心 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!