How can I read multiple image files in a folder using Simulink?
Mostrar comentarios más antiguos
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.
Respuestas (1)
Azzi Abdelmalek
el 19 de Mayo de 2016
0 votos
Use Matlab function block
2 comentarios
Azzi Abdelmalek
el 20 de Mayo de 2016
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?
Azzi Abdelmalek
el 20 de Mayo de 2016
Post your code
Categorías
Más información sobre Computer Vision Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!