How can I pull a random image to display, from a folder of images using Psychtoolbox?
이전 댓글 표시
Hello,
I am trying to show an image, randomly selected from a folder of images. I'm using Psychtoolbox. How do I instruct it to pull an image randomly from the folder, to display on the screen? The images can be used more than once.
Thanks!!
채택된 답변
추가 답변 (1개)
Sean de Wolski
2014년 11월 4일
0 개 추천
Perhaps use randi to generate a random index between 1 and the number of files.
카테고리
도움말 센터 및 File Exchange에서 Image display and manipulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!