Info
This question is closed. Reopen it to edit or answer.
cell, fig, dat, uitable
2 views (last 30 days)
Show older comments
Hi I want to create a table with variable values generating by a loop procedure. The following codes gave me an error message. Basically the adft is a 4x5 cell, but when I create Dat with the adft, it says dimensions being concatenated are not consistent. How can I get around this problem.
many thanks.
adft = []; for i = 1:4 adftemp = {vname{i}, adf_vnam{i}.tstas, adf_vnam{i}.crit(3),... adf_vnam{i}.crit(2), adf_vnam{i}.crit(1)}; adft = [adft; adftemp]; end
f = figure('Name','ADF & Coint test','Position', [500 100 800 400]); dat = {'ADF TEST',[],[],[],[]; adft;[],[],[],[],[]}; tb = uitable(f,'Data',dat,'Position', [50 100 600 300]);
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!