How to create a button in GUI to be able to vary the speed with which time passes of a imshow?

조회 수: 1 (최근 30일)
I'm doing a program in guide to view sequentially the cuts (sagittal, coronal, axial) over time. Now i want to be able to vary the speed with which time passes, but i can't found a way to do this. I want to creat a popup menu, or a checkbox for changing the speed of a imshow like, 2x, 0.5x 0.75x, 1.75x, 1,5x
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2021년 12월 28일
@João Pedro - you may need to provide more details. How are you currently showing the images using imshow? Are you iterating over a list of images (in a for loop) and then showing each image sequentially with a fixed pause at the end of each iteration? Or are you doing something else?

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

답변 (1개)

Sivani Pentapati
Sivani Pentapati 2022년 1월 4일
Hi Predro,
You can try using App Designer instead of guide. Adding to the above comment, you can display series of images using pause and updating the source of uiimage object periodically. The speed can be configured using a slider component. Please refer to the attached mlapp file for the implementation of the workaround.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by