1. Navigate to "C:\Windows\System32" and look for "pcanbasic.dll" ( if there is no pcanbasic.dll, continue to step 2 ). Right-click on the DLL, and click on "Properties". On the Details tab, if the "File description" indicates that this is a 32-bit DLL, then delete this DLL.
2. Uninstall any existing PEAK-Drivers from Windows Control Panel > Programs and Features
3. Go to the manufacturer's website, Downloads section to download the driver package:
https://www.peak-system.com/Drivers.523.0.html?&L=1Click on "Device Driver Setup Windows" to download.
4. Extract the downloaded zip file.
5. Execute PeakOemDrv.exe, and during setup make sure the following options are checked/enabled:
- CAN device drivers
- PCAN-Basic
5. Reboot computer.
6. Connect the PEAK-System device.
7. Open vendor utility PCAN-View and confirm that the device is detected, then close PCAN-View.
8. Restart MATLAB and execute canChannelList to confirm that the device is detected.
Once the vendor drivers are installed, to use the PEAK-System CAN device with MATLAB or Simulink, note that:
- You need to close the vendor app PCAN-View before MATLAB is started.
- To have the PEAK-System CAN device detected in Simulink, the device needs to be plugged in before MATLAB is started.