figs2tabs - move figures into a single tabbed gui

버전 1.1.0.0 (3.79 KB) 작성자: Chad Smith
Use MATLAB's native tab functionality to move multiple figures or GUI's into one window
다운로드 수: 1.9K
업데이트 날짜: 2013/12/18

라이선스 보기

--Creates a tabbed window with an existing figure moved into each tab.
--No tab workarounds necessary - MATLAB's built-in but undocumented tab
features are used for smooth graphics handling and a clean interface.

Input parameters:
figHandles: an array of handles to currently valid, visible figures.
These figures can be GUIDE based.

Output parameters:
(optional): The handle to the tabbed figure is output if desired.

Example:
f1 = figure('Name','Sin Wave');
plot(sin(1:100));
f2 = figure('Name','Random Points');
plot(magic(5))
f3 = msgbox('A message box');
tabbedFig = figs2tabs([f1,f2,f3])

Warning:
This code heavily relies on undocumented Matlab functionality.
It has only been tested on Matlab 2012a. Use at your own risk.

Known limitations:
--uimenu's are not preserved
--figure-wide callback functions are not preserved, i.e. KeyPressFcn,
CloseRequestFcn.
--resizing is not proportional (this will be fixed in a future release)

Known issues:
*Not compatible with pre r2010b versions of Matlab, though it could be with
some slight modifications to this function. Compatibility fixes
are welcome from those with older versions.

인용 양식

Chad Smith (2024). figs2tabs - move figures into a single tabbed gui (https://www.mathworks.com/matlabcentral/fileexchange/44747-figs2tabs-move-figures-into-a-single-tabbed-gui), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2012a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Updated description

1.0.0.0