| Contents | Index |
extracted = extractRecent(message)
extracted = extractRecent(message, messagename)
extracted = extractRecent(message, id, extended)
extracted = extractRecent(message) parses the given array message and returns the most recent instance of each unique CAN message found in the array.
extracted = extractRecent(message, messagename) parses the specified array of messages and returns the most recent instance matching the specified message name.
extracted = extractRecent(message, id, extended) parses the given array message and returns the most recent instance of the message matching the specified ID with the specified standard or extended type.
You can specify id as a vector of identifiers. For example, if you pass id in as [250 500], extractRecent returns the latest instance of both CAN message 250 and message 500 if it finds them in the message array. By default, all identifiers in the vector are standard CAN message identifiers unless extended is true. If any id in the vector is an extended type, then extended is true and is a vector of the same length as id.
extracted |
An array of CAN message objects returned with the most recent instance of id found in the message. |
msgOut = extractRecent(message)
msgOut = extractRecent(message, 'msg1')
msgOut = extractRecent(message, {'msg1' 'msg2' msg3'})
msgOut = extractRecent(message, 3000, true)
msgOut = extractRecent(message, [400, 5000], [false true])

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |