필터 지우기
필터 지우기

How can I read multiple image files in a folder using Simulink?

조회 수: 3 (최근 30일)
Sonoma Rich
Sonoma Rich 2016년 5월 19일
댓글: Azzi Abdelmalek 2016년 5월 20일
I have many tiff image files in a given directory I want to process using Simulink. I have the Computer Vision Toolbox, but the "Image From File" block can only read one specified image. Is there a way I can specify a directory and have Simulink read all the tiff files in that directory? It would be nice to have something like reading the "From Multimedia File" block, but specifying a directory and image type.

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 5월 19일
Use Matlab function block
  댓글 수: 2
Azzi Abdelmalek
Azzi Abdelmalek 2016년 5월 20일
Sonoma commented :
I tried that. I used the "dir" Matlab function, but it returns a structured array which adds complications when using it within a Simulink block. Can you provide sample code for doing this?

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by