Vehicle network toolbox - how to read a channel with conversion rule?
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am using Matlab 2017b with the vehicle network toolbox for quite a while now. Thanks for the good work!
There is one kind of channel I cannot load with the tool: it is a status variable with a numerical value range (e.g. 0-9) where some numbers are linked to a certain text in a "conversion rule" (see picture of CANape properties below). When using the read function, I get the error "Numerical value returned as physical value unsensible.", no matter what output format or other options I try. The input file is from measured from an flexray .a2l and saved as .mf4 (version 4.1) in CANape 16.
We do have similar status variables that I can read, and I found they do not have a conversion rule.
Is there a way to read channels with conversion rules (preferably as a numerical value)?
![conversion rule.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/206060/conversion%20rule.png)
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!