To use your Vector CAN or CAN FD device with Vehicle Network Toolbox you need to install the "Vector Driver Setup" provided by the hardware vendor.
If you are using R2023b Update 10 or later, R2024a Update 7 or later, R2024b or later releases, follow these steps:
- Download and install the latest version Vector Driver Setup for Windows 10 and 11 using the following link:https://cdn.vector.com/drivers/Vector_Driver_Setup.zip
- Restart your computer.
- Connect your Vector CAN device to the computer.
- Start MATLAB and execute the "canChannelList" command in the command window.
If you are using a MATLAB release older than the ones mentioned above:
Vector CAN/CAN FD devices would not be detected in MATLAB if you are using the default installation of "Vector driver setup for Windows 10 and 11" (versions 23.20, 24.10, or later versions).
To resolve this issue, you can follow the below steps:
- Download and install the "XL Driver Library Setup" using the following link:https://www.vector.com/int/en/download/xl-driver-library-203014/
- Download and install Vector driver setup for Windows 10 and 11 using the following link:https://cdn.vector.com/drivers/Vector_Driver_Setup.zip
- Using File Explorer, locate the "vxlapi.dll" and "vxlapi64.dll" files in the XL Driver Library installation folder (for example "C:\Users\Public\Documents\Vector\XL Driver Library 20.30.14\bin")
- Copy the "vxlapi64.dll" file to the "C:\Windows\System32" folder.
- Copy the "vxlapi.dll" file to the "C:\Windows\SysWOW64" folder.
- Restart your computer.
- Connect your Vector CAN device to the computer.
- Start MATLAB and execute the "canChannelList" command in the command window.