- For more about "UDP Send":https://www.mathworks.com/help/releases/R2020b/slrealtime/io_ref/udpsend.html
- For more about "UDP Receive":https://www.mathworks.com/help/releases/R2020b/slrealtime/io_ref/udpreceive.html
- For an example about transmitting data via UDP:https://www.mathworks.com/help/releases/R2020b/slrealtime/ug/target-to-host-transmission-using-udp.html
Read from Webcam in Simulink
6 ビュー (過去 30 日間)
古いコメントを表示
Hi everyone, i need to read from a webcam in a simulink model , can anyone help me please.
Thanks in advance
0 件のコメント
回答 (2 件)
Kumar Pallav
2022 年 3 月 22 日
Hello,
For R2020a and earlier, refer to this workflow documentation for a step-by-step guide to integrating a USB camera into your model using the USB camera blocks, "From USB Video Device" and "USB Video Device List":
For R2020b and later, connect the USB webcam to the development PC and stream the data to the target machine using the Simulink Real-Time UDP blocks, "UDP Send" and "UDP Receive". To learn more, please refer to the following documentation links:
Hope this helps!
0 件のコメント
Cris LaPierre
2023 年 6 月 29 日
編集済み: Cris LaPierre
2023 年 6 月 29 日
You can see some examples here: https://www.mathworks.com/help/imaq/examples.html?category=image-acquisition-in-simulink-1
You will need to install the Image Acquisition Toolbox Support Package for OS Generic Video Interface using the Add-Ons explorer in order to connect to your webcam.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!