How to extend valid variable length (namelengthmax) in read(MDF)?

5 ビュー (過去 30 日間)
Mathias
Mathias 2018 年 7 月 31 日
コメント済み: Simon Beyer 2022 年 6 月 9 日
Hi,
i use the vehicle Network Toolbox to read MDF files. With a new dataset i got an error that a variable name is not valid (see pic). I recognized that the Name is too long. How can i work around this? Is there any possibility to increase namelengthmax? </matlabcentral/answers/uploaded_files/127170/namelengthmax.png>
MDFobj=mdf(inFilename.full);
grpChannelNames=MDFobj.ChannelNames;
...
if any(Selection)
Data{n,1} = read(MDFobj,n,grpChannelNames{n}(Selection)); % error here
ChannelNames{n} = ChannelNames{n}(Selection);
ChannelGroup(n).Channel = ChannelGroup(n).Channel(Selection);
end
Thanks in advance.
  2 件のコメント
zapaiz
zapaiz 2019 年 7 月 3 日
>I have the same problem
Simon Beyer
Simon Beyer 2022 年 6 月 9 日
I also have the same problem.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeVehicle Calibration についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by