Convert FIG to MATLAB code

版本 1.1.0.0 (8.5 KB) 作者: Olivier
Generate programmatic GUI MATLAB File from a FIG-File
6.4K 次下载
更新时间 2010/4/14

查看许可证

FIG2M - Generate programmatic GUI M-File from a FIG-File

Version : 1.0
Created : 10/05/2006
Modified: 14/04/2010
Author : Thomas Montagnon (The MathWorks France)

>> outputFile = fig2m(guiName,outputDir,syscolorfig,cb_gen);

guiName -> Name of the Fig-File (absolute or relative path)
outputDir -> Directory where the generated M-File will be saved
syscolorfig -> Use system default background color (true or false)
cb_gen -> Generate callbacks (true or false)
outputFile -> Name of the generated M-File

>> fig2m

If you call the function with no input arguments it will ask you for the parameters.

引用格式

Olivier (2024). Convert FIG to MATLAB code (https://www.mathworks.com/matlabcentral/fileexchange/14340-convert-fig-to-matlab-code), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Printing and Saving 的更多信息
致谢

启发作品: Graphical Points Selection, img2curve

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

- Change the function name from generate_m_file to fig2m
- Bug corrected for generation of String property value containing new line and ' characters.
- Add support for uitoolbar, uipushtool and uitoggletool
- Add support for uitable controls

1.0.0.0

- Add Support for UserData property
- Bug correction in String property value generation