Why is my Kvaser CAN device not detected in Vehicle Network Toolbox?

49 Ansichten (letzte 30 Tage)
Why isn't my Kvaser CAN device detected by the "canChannelList" or "canHWInfo" functions in MATLAB, or using the CAN Configuration / CAN Receive / CAN Transmit blocks in Simulink?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 21 Nov. 2023
Bearbeitet: MathWorks Support Team am 21 Nov. 2023
To have the Kvaser CAN device detected in MATLAB or Simulink you need to install the vendor device driver library as described below.
Follow these steps to install/reinstall/update the vendor drivers on Windows:
1. Unplug your Kvaser device and close MATLAB
2. Uninstall any existing Kvaser CAN Drivers and Kvaser CANLIB SDK from Windows Control Panel > Programs and Features
3. Open a web browser and go to https://www.kvaser.com/download/ and download the following:
  • "Kvaser Drivers for Windows" (kvaser_drivers_setup.exe)
4. Execute kvaser_drivers_setup.exe, which installs the Kvaser device drivers and Kvaser CANlib library
5. Reboot your computer
6. Plug in your Kvaser device
7. Start MATLAB and execute canChannelList to detect your device.
Once the vendor drivers are installed, to use the Kvaser device with MATLAB or Simulink, note that:
  • You need to close other apps accessing the device before MATLAB is started.
  • To have the Kvaser CAN device detected in Simulink, the device needs to be plugged in before MATLAB is started.

Weitere Antworten (0)

Kategorien

Mehr zu Vehicle Network Toolbox finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by