Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
cell, fig, dat, uitable
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!