已回答
App Designer: enter data via table in the GUI
Hi Rolf, Coming a bit late onto this one, but idea is to fill the Data property with zeros or some other numbers, and make sure...

4 years 前 | 0

已回答
PolarAxes in Matlab App Designer
Example taken from this website theta = 0:0.01:2*pi; rho = sin(2*theta).*cos(2*theta); pax = polaraxes(app.Panel); polarplo...

4 years 前 | 0

已回答
How to use app2 to control the buttons of app1 in app designer?
Do you run your apps in the same instance of MATLAB? If yes, set tags, or unique names for your apps in Component Browser, und...

4 years 前 | 0

已回答
How to toggle between two conditions on app designer
Hello, Use ButtonGroup for this. If you select one, it will deselect the other one(s). You can check the property SelectedObjec...

4 years 前 | 0

已回答
Set properties of patch doesn't work
After you change properties, try with drawnow. Wrong(FaceColor, FaceAlpha, EdgeColor, LineStyle are the only properties for pa...

4 years 前 | 0

已回答
Drop Down and geoshow
I am not seeing the issue with your code, but it could be improved a bit. Your initial value on the dropdown is the first one - ...

4 years 前 | 0

| 已接受

已回答
Matlab is busy after running system() command
Hi Felix, In order for the MATLAB not to be busy, you have to close the program and then you can resume to work in MATLAB. The...

4 years 前 | 2

| 已接受

已回答
How should I release memory while running an AppDesigner app without having to restart MATLAB?
Hi Ward, Do you use persistent variables? See in task manager which process has high memory usage, MATLAB or MATLABWindow? He...

4 years 前 | 0

已回答
Xlabel coordinates for text command?
Hi, XLabel and Text are of the same type, so they have same properties. Default settings for text are center and middle alignme...

4 years 前 | 0

已回答
help moving an object
Hello, I have cleaned up a little bit of your code. You can create a function that will plot a cornerlight on the position to m...

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 0

| 已接受

已回答
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(:))

4 years 前 | 1

已回答
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;...

4 years 前 | 0

已回答
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 ...

4 years 前 | 0

已回答
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....

4 years 前 | 1

已回答
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...

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 2

| 已接受

已回答
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, ...

4 years 前 | 0

| 已接受

已回答
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) ...

4 years 前 | 1

| 已接受

已回答
(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...

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
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 ...

4 years 前 | 1

| 已接受

已回答
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;

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
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.

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
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:...

4 years 前 | 0

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

4 years 前 | 1

加载更多