Hi ,I have this problem(datatypeformat) in mdfimport ,Can you help me?

6 vues (au cours des 30 derniers jours)
Antonello Teti
Antonello Teti le 24 Août 2016
Modifié(e) : Akshit Goyal le 31 Juil 2019
*
Error using mdfimport>datatypeformat (line 1953)
Unsupported number of bits for unsigned int
Error in mdfimport>mdfread (line 1692)
datatype=datatypeformat(signalDataType,numberOfBits); %Get signal data type (e.g. 'int8')
Error in mdfimport>mdfload (line 1106)
[data signalNames]=mdfread(MDFInfo,dataBlock,selectedChannels); % Load specified signals
Error in mdfimport>importdatawithoptions (line 2271)
mdfload(options.MDFInfo,dataBlock,channelIndices,options.blockDesignation,ws,options.additionalText);
Error in mdfimport>importdata_Callback (line 354)
importdatawithoptions(options);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in mdfimport (line 87)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating UIControl Callback
  • How can I fix the problem?
thanks Regards Anto
  1 commentaire
David Barry
David Barry le 25 Août 2016
Can you upload the dat file that is giving the problem?

Connectez-vous pour commenter.

Réponses (2)

Shruti Shivaramakrishnan
Shruti Shivaramakrishnan le 31 Août 2016
Modifié(e) : Shruti Shivaramakrishnan le 31 Août 2016
The author of the File-Exchange MDF Import Tool and Function seems to have answered your question here:
https://www.mathworks.com/matlabcentral/fileexchange/9622-mdf-import-tool-and-function

Akshit Goyal
Akshit Goyal le 31 Juil 2019
Modifié(e) : Akshit Goyal le 31 Juil 2019
I am also facing the same problem? Please tell me how to resolve the error?
Error using mdfimport>datatypeformat
Unsupported number of bits for unsigned int
Error in mdfimport>mdfread
datatype=datatypeformat(signalDataType,numberOfBits); %Get signal data type (e.g. 'int8')
Error in mdfimport>mdfload
[data signalNames]=mdfread(MDFInfo,dataBlock,selectedChannels); % Load specified signals
Error in mdfimport>importdatawithoptions
[size names] = mdfload(options.MDFInfo,dataBlock,channelIndices,options.blockDesignation,ws,options.additionalText);
Error in mdfimport>importdata_Callback
importdatawithoptions(options);
Error in gui_mainfcn
feval(varargin{:});
Error in mdfimport
gui_mainfcn(gui_State, varargin{:});
Error while evaluating UIControl Callback.

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by