Connect Vector device to Packet Input block with Simulink Desktop Real-Time
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Amine
el 2 de Mzo. de 2023
Comentada: Amine
el 3 de Mzo. de 2023
Hello,
I'm facing a problem to connect Vector CAN Device VN1630A via Simulink Desktop Real-Time Toolbox. I'm using the block Packet Input to connect my device. Unfortunnetaly, my device is not recognized by Simulink (see following picture).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1311985/image.png)
I don't have the same issue when I use Vehicle Communication Network Toolbox (see the following picture). Unfortunalety, with this toolbox I can't ensure Real-Time communication.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1311990/image.png)
Thanks for your help
0 comentarios
Respuesta aceptada
Jan Houska
el 2 de Mzo. de 2023
Hello,
in the Vector Hardware Config tool, please create an application named MATLAB and assign the CAN channels you want to use to this application. Then the first assigned channel will become selectable in the driver GUI as MATLAB 1, etc. This is also described in the documentation.
Good Luck, Jan
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with Simulink Desktop Real-Time en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!