Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

cell, fig, dat, uitable

2 Ansichten (letzte 30 Tage)
Linden
Linden am 22 Jan. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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]);

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by