Info

此问题已关闭。 请重新打开它进行编辑或回答。

cell, fig, dat, uitable

2 次查看(过去 30 天)
Linden
Linden 2015-1-22
关闭: MATLAB Answer Bot 2021-8-20
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 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by