Reading Classdef type classes Using MatIO

2 Ansichten (letzte 30 Tage)
Saad
Saad am 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 Kommentar
per isakson
per isakson am 20 Aug. 2013
Bearbeitet: per isakson am 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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Call C++ from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by