필터 지우기
필터 지우기

Using a UI slider to navigate through files in a folder

조회 수: 1 (최근 30일)
Aaron Smith
Aaron Smith 2017년 3월 6일
댓글: Adam 2017년 3월 7일
I am using contourf to represent matrices visually. I have multiple matrices that I need to be able to access easily in my GUI window. My query was, is it possible to use the arrows of a UI slider to navigate through different contourf plots?
  댓글 수: 3
Aaron Smith
Aaron Smith 2017년 3월 7일
So, from what you know about the UI slider, if I set up a code to allow the user to select a folder to open files from, would it be better to open the files in the workspace and call them when navigating with the slider or open them individually when navigating through with the slider? Thanks
Adam
Adam 2017년 3월 7일
It depends entirely how large they are, how long they take to open, how many the user is likely to scroll through, etc.
It is an upfront cost in time and memory vs an on-demand cost. If you can store them all in memory and the upfront time is not a problem then certainly being able to scroll through things quickly is good.
But if you have 100 large files and the user is likely to only look at a couple then the time and memory taken loading them all in is clearly not warranted.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by