MATLAB 도움말 센터
Information about CAN database node
info = nodeInfo(db)
info = nodeInfo(db,NodeName)
info = nodeInfo(db) returns a structure containing information for all nodes found in the database db.
info
db
If no matches are found in the database, nodeInfo returns an empty node information structure.
nodeInfo
example
info = nodeInfo(db,NodeName) returns a structure containing information for the specified node in the database db.
NodeName
collapse all
Create a CAN database object, and view information about its nodes.
db = canDatabase('c:\Database.dbc') info = nodeInfo(db)
info = 3x1 struct array with fields: Name Comment Attributes AttributeInfo
View name of first node.
n = info(1).Name
n = AerodynamicControl
Create a CAN database object, and view information about its first node, listed in the previous example.
db = canDatabase('c:\Database.dbc') info = nodeInfo(db,'AerodynamicControl')
info = Name: 'AerodynamicControl' Comment: 'This is an AerodynamicControl node' Attributes: {3x1 cell} AttributeInfo: [3x1 struct]
CAN database, specified as a CAN database object.
Example: db = canDatabase(_____)
db = canDatabase(_____)
Node name, specified as a character vector or string.
Example: 'AerodynamicControl'
'AerodynamicControl'
Data Types: char | string
char
string
Node information, returned as a structure with these fields:
Name
Comment
Introduced in R2015b
attributeInfo
messageInfo
signalInfo
canDatabase
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의