Answered
Appdesigner Edit Field (Numeric) won't update values.
Hello, Based on the comment section, callback should be written this way function Push_Button_Callback(app, event) app.pu...

ungefär en månad ago | 0

| accepted

Answered
Put array in ListBox to choose different values for plot/ App Designer
Hello, No need to assign ItemsData. Try this app.ListBox.Items=num2str(zR(:))

ungefär en månad ago | 1

Answered
Change Background Color of uitable in App Designer given different conditions?
You could try splitting the code for different versions. matlabVerTemp = ver('matlab'); matlabVersion = matlabVerTemp.Version;...

ungefär en månad ago | 0

Answered
How to use Ode45 in App Designer
Hi Brendan, You only define properties in the property section, not their values. properties (Access = private) a b ...

ungefär en månad ago | 0

Answered
AppDesigner .mlapp won't open because of code error
Hi Bryan, It's best to contact Support for this one, and to share with them the version of the app you haven't edited manually....

ungefär en månad ago | 1

Answered
programatically exporting the code behind an .mlapp to an m file.
Hey Chris, If you set up your application as a project, and use MATLAB's Source Control to share your project to Git, you are a...

ungefär en månad ago | 0

| accepted

Answered
Copy Matlab Command Window without diary
Hi Fabio, I Hope that you have solved your problem already, in case if someone else might be interested in this, here's the sol...

ungefär en månad ago | 1

| accepted

Answered
Pass Panel components to function with App Designer
Hello, Yes, it's possible and what you posted should be working. xy = myFunction(app.Panel); If you inspect Panel component, ...

ungefär en månad ago | 0

| accepted

Answered
Index exceeds the number of array elements (0)
If earthGravity and hoverThrust are not properties of the app, then that's why it doesn't work. properties (Access = public) ...

ungefär 2 månader ago | 1

| accepted

Answered
(App Designer) change callback of item / add new callback to existing item
Hello, Each component has its own callback, and only thing that you need to do to change it is to rename it, everything relate...

ungefär 2 månader ago | 0

| accepted

Answered
How to plot a histogram with two different bar colours
Hello, Reference to the answer by Mike is here. If you could display your data with bar function, it is possible to set the co...

ungefär 2 månader ago | 0

| accepted

Submitted


uioptimoptions
Provides UI for optimoptions in MATLAB

ungefär 2 månader ago | 2 downloads |

Thumbnail

Answered
How can I invoke a State button without pressing it manually, but doing it programatically?
Hello, To my slim knowledge, I wouldn't recommend it to run another callback within one. It could be better if you would wrap t...

ungefär 2 månader ago | 0

Answered
Software Design Principles for App Designer
Hello, These app.name are actually properties.I have written quite a complex app, and I can tell already, you'll never going to...

ungefär 2 månader ago | 0

Answered
How can I put a figure in app designer?
Hello, Your function does not have access to the handle of app or uiaxes in the app. The best would be to put your function in ...

ungefär 2 månader ago | 0

| accepted

Answered
Error setting property 'ReresultEditField' of class 'app1'. Cannot convert double value NaN to a handle
Set the component property this way app.ReresultEditField.Value = Re;

ungefär 2 månader ago | 0

Answered
Append each updated value of the same for loop variable to .mat file
Hello, I wouldn't know how append option works in detail, but It overwrites the variable in your case. Better option is to prea...

ungefär 2 månader ago | 0

Answered
error in gray area of app designer
Hello, You can't change grey area, check if you're missing an end somewhere in your code.

ungefär 2 månader ago | 0

Answered
Create a histogram of y-axis positions at x=100?
Hello, I have changed a bit of your code so it doesn't overwrite the values within i loop. n = 100; P = zeros(i,n); % Array i...

ungefär 2 månader ago | 0

Answered
saving data when looping
Because your t accepts only a scalar and it gets overwritten every single time. % Before loop n = 1; t = zeros(1,length(1977:...

ungefär 2 månader ago | 0

Answered
How to combine two matrices (images)
Hello, You can use C = cat(1, B, A);

ungefär 2 månader ago | 0

Answered
Multiple Selection in uitable
Hello, If you want to select multiple elements in UITable, hold down the shift button. Add Cell Selection callback to the table...

ungefär 2 månader ago | 0

| accepted

Answered
Does `imshow` just delete all other objects in the axes?
Hello, To use hold on with handles to axes, this works. hold(ax, 'on'); To assign image to axes with imshow imshow(img, 'Par...

2 månader ago | 0

| accepted

Answered
Calling a MATLAB Application file from a terminal
You should provide only Application name, without extension. Also, it needs to be on MATLAB path.

2 månader ago | 0

Answered
Save and load alternative sets of preferences
Hi Matt, This is probably what you're looking for https://www.mathworks.com/help/matlab/matlab_external/create-custom-settings...

2 månader ago | 0

| accepted

Answered
Plot in app designer
Everything was ok, I messed up with the reversing x and y on the comment above. Actually there was a line displayed in the plot,...

2 månader ago | 0

| accepted

Answered
Is there a way to re-title the Matlab Editor window?
Method 3: Maybe change background color of each MATLAB instance so you can differ them. Short expansion on comments above, ...

2 månader ago | 0

| accepted

Answered
Hata model, i can run the code but the graph doesn't appear at all. can someone fix it for me? thnx
Your variables f and LU are scalars, which mean that you might have miscalculated something in the code, or you are using for lo...

2 månader ago | 0

Answered
line graphed at bottom of the figure
Hello, Only the first element of FF, is not 0 which explains how the plot looks. FF = zeros(23,1); FF(1,1) = P0;

2 månader ago | 0

Answered
Appdesigner - slider changed function - missing argument
Hello, Right click on the Slider component, create a callback - ValueChangedFcn % Example text, adjust to the actual component...

2 månader ago | 0

| accepted

Load more