필터 지우기
필터 지우기

display values from matfile

조회 수: 2 (최근 30일)
Elysi Cochin
Elysi Cochin 2012년 12월 10일
I have a mat file with 4 variables, each variable contains 1 row and 3 column values.... i wanted to display these values of all variables in a table format that is one table with 4 rows and 3 columns with headings.... please cud someone help me....

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2012년 12월 10일
v1=rand(1,3);
v2=rand(1,3);
v3=rand(1,3);
v4=rand(1,3);
f = figure('Position',[100 100 400 150]);
dat = [v1; v2;v3;v4];
t = uitable('Units','normalized','Position', [0.1 0.1 0.9 0.9], 'Data', dat, 'RowName',{'v1','v2','v3','v4'})

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by