Reading Classdef type classes Using MatIO

1 view (last 30 days)
Saad
Saad on 20 Aug 2013
Dear All,
Hopefully you all will be reading this message in best of your health. These days I am working on a project which contains one class def and I want to read this file using MatIO library. I can easily read this file using MatIO library but when I am trying to read the variable it is showing that there is no variable inside the file but as I can see on MATLAB that there is one class which contains several structs variable. I am not getting any idea how to read class using MatIO library. If anyone can point me in right direction then it will be very helpful for me.
classdef Mono_Data
properties
resolution
shutter_speed
filter_data
filter_device
saturation
zero
filter_data_wavelength
dark_noise
slit_size
comments
location
version
id
monochromator_gain
end
methods
.........
.........
.........
end
This is the class def of my class and i want to read the respective variables.
Waiting for a favorable response.
Thanks Regards
  1 Comment
per isakson
per isakson on 20 Aug 2013
Edited: per isakson on 20 Aug 2013
"easily read this file" do you refer to a MAT-file, in which an instance of the class is stored?
" I am not getting any idea " what does the documentation of MatIO say?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!