How to use imscrollpanel(hFig,hIm) in a Live Script
이전 댓글 표시
Executing the following code in an m.file works nice:
%% Example
load mri
hFig = figure();%'Toolbar','none','Menubar','none');
hIm=imshow(cell2mat(reshape((num2cell(squeeze(D),[1 2])),[],1)'),[]);
hSP = imscrollpanel(hFig,hIm);
but using that code in a live script does not allow to use the scroll bar.
Any suggestions how to make it interactive?
many thx
Peter
댓글 수: 2
Neeraj
2022년 9월 21일
This code is working fine in MATLAB R2022a in a live script
Peter Opriessnig
2022년 9월 21일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Medical Physics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!