Send Video from Simulink diretly to MATLAB GUI - Example.
The GUI loads the Simulink Model, sets up a feed of 320x240 images, and shows them in the GUI.
The feed is from a webcam.
Please note that if you don't have a camera that runs on "winvideo" adapter you would have to setup the block "From Video Device" in the Simulink model.
The zip file contains the GUI, Simulink model, a START_HERE m-file.
The example uses the LEVEL-2 S-Function template given by MathWorks, and adds some to it.
You need the license for image processing and image acquisition only if you want to read the video from a webcam, and do some procesing to the image. I've added some "Edge Detection" so it would be interesting...
Cite As
Roni Peer (2024). Send Video from Simulink diretly to MATLAB GUI - Example. (https://www.mathworks.com/matlabcentral/fileexchange/38007-send-video-from-simulink-diretly-to-matlab-gui-example), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Image Acquisition Toolbox > Image Acquisition in Simulink >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Acquisition in Simulink >
- Simulink > Simulation > Prepare Model Inputs and Outputs >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |