Questions tagged [matlab-app-designer]

The App Designer, introduced in R2016a, is a graphical tool for creating MATLAB apps with an interactive GUI. Use this tag only for specific MATLAB App Designer questions, and not for questions involving MATLAB GUIDE.

MATLAB App Designer is a graphical tool for creating apps. It features various new elements for user interaction, such as buttons, knobs and gauges.

The App Designer is a different, but complementary approach to the MATLAB GUIDE. While GUIDE has very rich plotting options, including 3D visualizations, the App Designer only features simple 2D plots. On the other hand, App Designer has more elements for user interaction.

Additional information on the App Designer are:

Related tags:

  • for general, not App Designer specific questions.
  • for GUIDE specific questions.
  • for questions about programmatic creation and manipulation of GUIs.
194 questions
1
vote
0 answers

Loop through grid layout takes FOREVER. How can I optimize the code?

I am trying to create an app with many text areas (80x12) in a gridlayout. I want to fill each grid with a individual text taken from a cell array. However, in the code example below I am just using {['test1',newline,'test2']} for all of them. But…
Birch78
  • 71
  • 10
1
vote
1 answer

How to list only n first files in folder?

I have about 1500 image files in a folder and listing all using dir() last too long and sometimes crashes the AppDesigner. Is there a way to list only the first or the first n images at a given time?
1
vote
1 answer

How to format the text in a textArea component in Matlab so that it always displays the latest value?

I am building a MATLAB app using app designer and I have a textArea component which I use to display output message to the user using the app. The component name is OutputStatusTextArea_1 and i set the value of nb_Text to 0 in the startup…
Tulkkas
  • 973
  • 3
  • 10
  • 22
1
vote
1 answer

Using Application Compiler for app including rtwbuild()

I would like to use the Application Compiler (Appdesigner -->Standalone Desktop App) on my MATLAB app. This app calls a .m file which is using the rtwbuild command to deploy a Simulink model to an arduino. The app works well when run in MATLAB,…
Dr No
  • 118
  • 5
1
vote
1 answer

Set limits for values in the cells of an uitable

I am creating a GUI using Matlab's App Designer (2019b). One of the nice features for NumericEditField is that you can define value limits so that users can't enter a value outside the desired range. For example, the following would limit the edit…
David K
  • 1,296
  • 18
  • 39
1
vote
1 answer

How to keep focus on app when disabling button in matlab app designer

I have resently started using app designer in matlab to make small programs but I'm running into a problem. I have a app with a start button on when the user presses the start button I want to disable button and then count keypresses for a set time.…
Lillefrog
  • 23
  • 1
  • 5
1
vote
1 answer

How to Determine Toolbox dependency for App designer in MATLAB 2017b

I have a project that is a single main app in app designer that i am using as a shell to call 3 matlab scripts and 7 app designer apps. I want to determine Toolbox dependency on the entire project, however the MATLAB documentation shows how to run…
1
vote
2 answers

How to print text message in UI App in Matlab

I am working on a App in MATLAB and I use the app design to build it. I have added a text area element in which I display messages to the user (similar use as the command window). In the the app the user can press buttons, which trigger functions to…
Tulkkas
  • 973
  • 3
  • 10
  • 22
1
vote
2 answers

How to display a matlab table in a Matlab App?

I am building an app where the user can select some parameters and press a button "update", which trigger a table to be create. Let's say a table named A. Now I would like to display this table in a excel like window on my app so the user can see…
Tulkkas
  • 973
  • 3
  • 10
  • 22
1
vote
3 answers

Use figure 'Zoom in'/ 'Zoom out' tools to update fields in appdesigner

Trying to find a way to use the Zoom in/out tools on a figure to automatically update fields in my app. My main problem is that I need a event that triggers the fields to be updated. I could use a button to pull the new axis limits but I feel like…
Turboman23
  • 21
  • 4
1
vote
1 answer

Layout syntax of an Edit Field component in MATLAB App Designer in a grid parent

I would like to specify the layout in a grid of an edit field as soon as I create it in MATLAB App Designer. app.villes1 = uieditfield(app.GHIetPOA_grid, 'text', 'HorizontalAlignment', 'center', ... 'Editable', 'on', 'Layout',…
abreaultg
  • 13
  • 2
1
vote
1 answer

addChild for uifigure components

I'm trying to develop my first GUIs with uifigure (programmatically, not with appdesigner [but I have added it as a keyword since it is related]), and (as expected) I'm missing some of the extended features and widgets as provided by the GUI Layout…
Patrick Happel
  • 1,336
  • 8
  • 18
1
vote
1 answer

How can I load and unload figures into a matlab app's axis?

I currently have a .m file that creates a ton of figures. It currently outputs those figures into a powerpoint, one slide per figure, but I would rather something more user friendly. I would like to use an app with app designer for this but I cannot…
Kenny G
  • 13
  • 3
1
vote
1 answer

UITable keeps making double CellSelection callback

The callback is used to add the selected cell to another uitable in the same uifigure yet it is behaviour changes, it most of the time makes double callbacks and it sometimes only single which the correct behaviour required. Is any settings that…
BirukTes
  • 45
  • 10
1
vote
0 answers

How do I delete a line in an array of lines given a value

In matlab, I stored every line I plotted like so: app.cplxPlot(app.cplxPlotNumber)= plot(app.UIAxes[app.var.cplx(1);app.var.cplx(1)],[50;250], 'g'); To make things generic, it is as if I did…
A.B.
  • 81
  • 6