MDF object reading error numerical value returned as physical.
Afficher commentaires plus anciens
While using the read function to get data from an MDF object (created via CANape) I am getting an error relating to datatype.
dat = mdf(MF4);
timeseries = read(dat,compare{3,2},compare{3,1});
Which outputs: Numerical value returned as physical value unsensible. I've included channel details below.
Note that compare is just a cell containing channel group numbers and channel names. When I try to change the conversion from "Numeric" to "None" using the code below my output is Unrecognized property 'Conversion' for class 'asam.MDF'
dat = mdf(MF4);
dat.Conversion = "None";
Any ideas on how to proceed?
Here are details of the channel being read (channel names ommited):
Unit: 'rad'
Type: FixedLength
DataType: IntegerUnsignedLittleEndian
NumBits: 16
ComponentType: None
CompositionType: None
Ref.: MATLAB R2017
1 commentaire
Walter Roberson
le 4 Juin 2022
Conversion did not become a property until R2021a
Réponses (0)
Catégories
En savoir plus sur MDF Files dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!