- You first need to install the "Vehicle Network Toolbox Support Package for Vector CAN Devices" support package.
- Then you need to open Virtual Hardware Config utility from Windows Control Panel > Hardware and Sound. Under Global Settings set the "Number of Virtual CAN Devices" to 2 or greater (as needed).
- Reboot your computer
How to use multiple CAN bus in the same model?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 5 May 2022
Answered: MathWorks Support Team
on 5 May 2022
I would like to configure multiple CAN buses virtual channel in the same model, is there any way to achieve this? Right now I am using "MathWorks Virtual Channel" in the model.
Accepted Answer
MathWorks Support Team
on 5 May 2022
As of MATLAB R2022a, MathWorks Virtual Channels support only one virtual bus (pair of two channels). If you need multiple virtual CAN buses, Vector virtual channels provide this functionality. Please follow the steps below:
0 Comments
More Answers (0)
See Also
Categories
Find more on Vehicle Network Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!