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

19 ビュー (過去 30 日間)
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?

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 5 月 28 日
編集済み: MathWorks Support Team 2024 年 5 月 28 日
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://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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeVehicle Network Toolbox についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by