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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ