How to input an image from the user in simulink?

조회 수: 1 (최근 30일)
Afaq Ahmad
Afaq Ahmad 2021년 1월 6일
I have a MATLAB script that I want to run in Simulink (by converting it into a MATLAB function). The code I want to run goes like this:
In this script, the input can be taken from the uigetfile(). How can I take the input from the user in Simulink and pass it in this function so that it can be converted into its binary bits?
Just, for more clarification, the block to be used is,
For the input "u", I want to take image input from the user and on the "y", I would like to have it converted into its binary bits (500*500*3 uint8, in my case).
Thanks

답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

제품


릴리스

R2014a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by