Answered
Matlab App - Value of numeric field to reset to default starting value if condition not met
Hi Antoine, Assuming you have a simpler app, you can create a property that will hold your default values, for one or more comp...

nästan 2 år ago | 1

| accepted

Answered
Why is the uieditfield ValueChangingFcn function called twice?
Hey Anais, That's some nice usage of tree component, thanks for that! Here are two lines that you need to change in your code....

nästan 2 år ago | 0

| accepted

Answered
App Designer - how to vertically align butons/listboxes in panel that resizing does not move boxes to center
Grid layout retains the correct component position.

nästan 2 år ago | 0

| accepted

Answered
Communication between C++ and Matlab
Hello, Scroll down the input arguments, there's an automation option https://ch.mathworks.com/help/matlab/ref/matlabwindows.htm...

nästan 2 år ago | 0

Answered
Controling Tabs in App Designer
Hello, Tabs are children of the TabGroup component. The latter component has property called SelectedTab which will be helpful....

nästan 2 år ago | 0

| accepted

Answered
How do I correlate a scalar value to a dropdown menu item?
Hello, Leave the Value field empty, it will be the first value of Items. For ItemsData, use a new row to define ItemsData for e...

nästan 2 år ago | 1

| accepted

Answered
Latex interpreter for "Edit field" label in App Designer
Hi Filippo, It seems like a weird bug, but this code makes it work. If you add drawnow in startupFcn, the FontSize can be chang...

nästan 2 år ago | 0

| accepted

Answered
extract data from cell matrix to matrix
Hi, B = cell2mat(A);

nästan 2 år ago | 1

| accepted

Answered
How can I restrict a text edit field to only specific characters?
Hi David, I haven't used ValueChangingFcn, but something like this should probably work. allowedChars = 'mMwW '; if ~any(ap...

nästan 2 år ago | 0

Answered
choosing an active component in GUI
Hi Stepan, You can control the active component with Tab (next), Shift+Tab (previous). The order of the components is the same ...

nästan 2 år ago | 0

Answered
Error using the command: set(ai_device, 'SamplePerTriger', 1000)
Hi, What's the output of properties(ai_device) Is it maybe SamplePerTrigger?

nästan 2 år ago | 0

Answered
How to make a button in AppDesigner launch a matlab script ?
Hello, See run function.

nästan 2 år ago | 0

| accepted

Answered
App Designer returning Value in EditField
Hi, app.aDropDown.Value is one of the values in Items (if ItemsData is empty), therefore it's a character array. if you set I...

nästan 2 år ago | 0

| accepted

Answered
How to add additional rows to uitable?
Hey, 1st option: KeyPressFcn callback, see UITable callbacks. Create a CellSelectedFcn callback first that saves selected cel...

nästan 2 år ago | 0

| accepted

Answered
how to solve this error horzcat Dimensions of matrices being concatenated are not consistent?
Hi Miguel, When you type [var1 var2], you are concatenating horizontally, since your variables have different number of rows, y...

nästan 2 år ago | 0

| accepted

Answered
How to position and resize the list box window?
Hi David, a) ListSize property does what you would like to do. These numbers are actually pixels listdlg('SelectionMode','sin...

nästan 2 år ago | 0

| accepted

Answered
Writing a structure to a txt file
Hello, fieldnames function is useful in this case. There is maybe a better or/and simpler way to do this. However, there seems ...

nästan 2 år ago | 1

| accepted

Answered
Unrecognized function or variable in app designer
Hello, I am not to familiar with Simulink files, but you can try following: If you are able to save the needed variables into ...

nästan 2 år ago | 0

| accepted

Answered
Error when trying to set UITable columnwidth to 'fit' in App Designer
Hi, Looks like this is 2020b feature. If you want to see to which release the documentation belongs, see the top right corner...

nästan 2 år ago | 0

Answered
Alternative to system function
Hello, you must ensure that each of your workers gets their parameters correctly and that .exe program utilise 1 core or more ...

nästan 2 år ago | 0

Answered
How delete panel in app design
Hi, I don't think it's possible to go back after you converted your app to 2 panel app. Once you do convert it, new app will be...

nästan 2 år ago | 0

| accepted

Answered
(App designer) How can I display all the graphs that I am plotting in a for loop?
Hello, You can set up your code into calculating your results, getting them all in a single matrix or a structure or a table an...

nästan 2 år ago | 1

Answered
Matlab Array indexing and slicing
Hi, The first line replaces a subset of Ubc, with indices being replaced (2:41, 2:41), where matrix U is of the same size. You ...

nästan 2 år ago | 1

Answered
Placing a figure into word and specifiying a position using ActiveX
Hi, Selection points at current location where the text is going to be displayed, you have already typed something on first pag...

nästan 2 år ago | 0

Answered
Change App Display Button in Matlab
When you click the button to export app to toolbox, in the window that opens there's an area that you should click to add the im...

nästan 2 år ago | 0

| accepted

Answered
MATLAB App - UIAxes Array Incorrect
Hi, XLim is the property that you need to adjust in the code, or in the component editor. app.UIAxes.XLim = [0 12];

nästan 2 år ago | 0

| accepted

Answered
Saving feature in MATLAB App designer
Hello, Since app can't be saved, you will need to save the quiz data into the .mat file, and load it next time the app is opene...

nästan 2 år ago | 0

Answered
Toggle selected option of uiconfirm
Hi, to navigate, use the Tab select next or Shift+Tab to go select previous component. I am not sure whether there exists an op...

nästan 2 år ago | 0

Answered
Rows Into Single Column
Hi, This will do it. file = 'imagelist thinned.txt'; tableOpts = detectImportOptions(file); tableOpts.VariableTypes = repm...

nästan 2 år ago | 0

Answered
Recover former state of Matlab Editor
Hi Matt, Actually, Yair Altman has already mentioned this https://undocumentedmatlab.com/articles/recovering-previous-editor-st...

nästan 2 år ago | 1

| accepted

Load more