Effacer les filtres
Effacer les filtres

display values from matfile

2 vues (au cours des 30 derniers jours)
Elysi Cochin
Elysi Cochin le 10 Déc 2012
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....

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 10 Déc 2012
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'})
  1 commentaire
Elysi Cochin
Elysi Cochin le 10 Déc 2012
thank u sir...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by