Reading multiple image files with Simulink
Show older comments
Is it possible to read multiple image files e.g., the contents of a folder, in Simulink? I need to read a sequence of images from a folder, one at a time.
Answers (1)
Azzi Abdelmalek
on 14 Mar 2013
0 votes
5 Comments
Ahmed A. Selman
on 14 Mar 2013
Kaustubha Govind
on 15 Mar 2013
You should be able to use the Embedded MATLAB Function block or MATLAB S-function block to implement your own code that loops through a set of files and reads them. As long as the size of the output doesn't change, this should work. What errors are you seeing exactly?
Ahmed A. Selman
on 15 Mar 2013
Kaustubha Govind
on 18 Mar 2013
You might want to read the documentation on using structures in the MATLAB Function block to resolve the errors.
Ahmed A. Selman
on 19 Mar 2013
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!