MATLAB Answers

0

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

Antonello Teti さんによって質問されました 2016 年 8 月 24 日
最新アクティビティ Akshit Goyal さんによって 編集されました 2019 年 7 月 31 日
*
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 件のコメント

Can you upload the dat file that is giving the problem?

サインイン to comment.

2 件の回答


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

  0 件のコメント

サインイン to comment.


Answer by Akshit Goyal on 31 Jul 2019
Edited by Akshit Goyal on 31 Jul 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.

  0 件のコメント

サインイン to comment.



Translated by