You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 25, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: Readme.md
+14-12Lines changed: 14 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -40,24 +40,26 @@ MLAPP2CLASSDEF assumes that the targeted `*.mlapp` file is a GUI created by MATL
40
40
41
41
Structure of the packaged `*.mlapp` file is assumed to be a constant (e.g. `~\matlab\document.xml` is the path to the class definition XML)
42
42
43
-
Replacement of App Designer specific GUI elements with their "regular" MATLAB equivalents is a work in progress. See the below table for a description of UI element support.
43
+
Replacement of App Designer specific GUI elements with their "regular" MATLAB equivalents is a work in progress. See the below table for a description of UI element support. Conversion does not take into account object properties introduced in R2016a.
44
44
45
45
UI Element | App Designer Function | "Regular" MATLAB Function | Conversion Supported | Caveats
Figure | `uifigure` | `figure` | Yes| Does not modify any input parameters
48
+
Axes | `uiaxes` | `axes` | Yes| Does not modify any input parameters
49
+
Button | `uibutton` | `uicontrol('Style', 'pushbutton')` | Yes| Modifies inputs, assumes only App Designer input is parent object
50
+
Checkbox | `uicheckbox` | `uicontrol('Style', 'checkbox')` | Yes| Modifies inputs, assumes only App Designer input is parent object
51
+
Edit Box | `uieditfield` | `uicontrol('Style', 'edit')` | Yes| Modifies inputs, assumes only App Designer input is parent object
52
+
Text Label | `uilabel` | `uicontrol('Style', 'text')` | Yes| Modifies inputs, assumes only App Designer input is parent object
53
+
List Box | `uilistbox` | `uicontrol('Style', 'listbox')` | Yes| Modifies inputs, assumes only App Designer input is parent object
54
+
Radio Button | `uiradiobutton` | `uicontrol('Style', 'radiobutton')` | Yes| Modifies inputs, assumes only App Designer input is parent object
55
+
Slider | `uislider` | `uicontrol('Style', 'slider')` | Yes| Modifies inputs, assumes only App Designer input is parent object
56
+
Toggle Button | `uitogglebutton` | `uicontrol('Style', 'togglebutton')` | Yes| Modifies inputs, assumes only App Designer input is parent object
57
57
Spinner | `uispinner` | N/A | No | N/A
58
58
Text Area | `uitextarea` | N/A | No | N/A
59
59
Gauge | `uigauge` | N/A | No | N/A
60
60
Knob | `uiknob` | N/A | No | N/A
61
61
Lamp | `uilamp` | N/A | No | N/A
62
62
Switch | `uiswitch` | N/A | No | N/A
63
63
UI Alert | `uialert` | N/A | No | N/A
64
+
65
+
Converted GUIs will likely still require MATLAB R2014b and newer. MATLAB's App Designer heavily utilizes the dot notation for accessing properties of UI elements rather than using `set` and `get`. See [Graphics Handles Are Now Objects, Not Doubles](http://www.mathworks.com/help/matlab/graphics_transition/graphics-handles-are-now-objects-not-doubles.html) for more information.
0 commit comments