MATLAB Answers

how to read cell in mat file ?

22 views (last 30 days)
Oman Wisni
Oman Wisni on 6 Nov 2018
Edited: Oman Wisni on 6 Nov 2018
hi, I have ex.mat file which contain value like below
X1 1 2 3
X2 2 3 4
when I using function
the result will give all.
now I only want the result like below
1 2 3
2 3 4
it is possible to do that ?
when I using
result = ex(1,:)
The result only give me 1st row, I want 2nd row include to and all coloum
Any help will be very much appreciated.. thank you


Stephen Cobeldick
Stephen Cobeldick on 6 Nov 2018
@Oman Wisni: please upload your .mat file by clicking the paperclip button.
Oman Wisni
Oman Wisni on 6 Nov 2018
Hi sir, that is only example. Here my .mat file.
I want to load the value from Input.mat for train using MLP, But when I load the file mat, that error. Cause in file mat is struct. the error like below :

Sign in to comment.

Accepted Answer

madhan ravi
madhan ravi on 6 Nov 2018


Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by