필터 지우기
필터 지우기

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