Why different size on 2 files?
Show older comments
I have 2 files, which has been created with same fil. But the size are very different. Why this different?
Answers (2)
madhan ravi
on 23 Oct 2018
Edited: madhan ravi
on 23 Oct 2018
0 votes
see https://in.mathworks.com/matlabcentral/answers/97955-why-do-mat-files-for-variables-of-the-same-size-occupy-different-amount-of-disk-space answer given by mathworks support team
10 Comments
Rasmus Chrisander
on 23 Oct 2018
Rasmus Chrisander
on 24 Oct 2018
madhan ravi
on 24 Oct 2018
Edited: madhan ravi
on 24 Oct 2018
yes of course
type in command window
whos yourvariable %variable which you want to see the data type
madhan ravi
on 24 Oct 2018
for example:
>> a=1
a =
1
>> whos a
Name Size Bytes Class Attributes
a 1x1 8 double
>>
Rasmus Chrisander
on 24 Oct 2018
madhan ravi
on 24 Oct 2018
no they are not the same size
madhan ravi
on 24 Oct 2018
but the bytes are different
Rasmus Chrisander
on 24 Oct 2018
madhan ravi
on 24 Oct 2018
To be frank I agree your point , did you read that link completely?
Rasmus Chrisander
on 24 Oct 2018
Rasmus Chrisander
on 23 Oct 2018
0 votes
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!