To communicate with a CAN device, you need to install the required driver on your system. The drivers are available as support packages for the following vendors:
National Instruments® (NI-XNET CAN)
To install the Support Package for the required driver:
On the MATLAB® Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages.
In the Add-On Explorer, scroll to Refine by Type and check Hardware Support Packages.
Under Refine by Hardware Type, check CAN Devices. The Add-On Explorer displays all the vendors for supported CAN devices. Click the vendor for your device.
To uninstall support packages:
On the MATLAB Home tab, in the Environment section, click Add-Ons > Manage Add-Ons.
To update existing support packages:
On the MATLAB Home tab, in the Environment section, click Add-Ons > Check for Updates > Hardware Support Packages.