Why I'm getting error 'Not enough input arguments'?
古いコメントを表示
If you look it in my program, I create same as tutorial on decoding MFD file
In my script it, error activates as line 6.
I'll share my script file and raw data to analyze problem
clc
clear all
close all
m=mdf("Trail_format_checking.mf4")
channelList(m,"CAN_DataFrame","ExactMatch",true)
m.ChannelGroup(4)
m.ChannelGroup(4).Channel(2)
canData = read(m,4)
You can refer my outputs picture of command window.
Error using Practice (line 9)
Not enough input arguments.



Please help me to slove this issue about how to read MDF file.
8 件のコメント
KSSV
2022 年 11 月 11 日
What you want to do in this line?
canData = read(m,4)
Walter Roberson
2022 年 11 月 11 日
That read appears to be using https://www.mathworks.com/help/vnt/ug/asam.mdf.read.html and looks potentially acceptable to me.
If you put a breakpoint at that line and run to there, what shows up for
which read(m,4)
Satyam Taware
2022 年 11 月 11 日
Walter Roberson
2022 年 11 月 11 日
What shows up for
whos m
methods(m)
which -all read
Satyam Taware
2022 年 11 月 13 日
Satyam Taware
2022 年 11 月 13 日
Walter Roberson
2022 年 11 月 13 日
What turned out to be the solution?
Shreyansh Shethia
2022 年 11 月 30 日
@Satyam Taware Can you please tell us how did you solve the issue?
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で MDF Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

