Answered
Script to create/load a project
You need to delete .prj file and resources folder with it as well.

5 years ago | 0

Answered
How do I run a function I downloaded?
Please see John's comment as it's important. Place the function in your current folder and call it from command window, or in w...

5 years ago | 1

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

5 years ago

Answered
Legend inside a loop
Something like this should work. for k=1:1:length(c) legendstr{1,k} = sprintf('zeta = %f', zetavalue); %legendstr changes ...

5 years ago | 1

| accepted

Answered
How to use Global Search using fmincon with constraints and bounds?
Check the documentation, the fields were renamed to Aineq and bineq.

5 years ago | 0

Answered
How to get Matlab to return answers with ten-digit accuracy?
Write this on start of your script format long If you're reading the values from the workspace, find tab 'View' and under 'For...

5 years ago | 1

Answered
How to kill a starved designer app
Updated Note, this closes all figures close(findall(0, 'type', 'figure'));

5 years ago | 0

| accepted

Answered
creation of an app designer convolution of continuous and discrete signals
If you group them into one panel, you can hide a panel. Otherwise you can create a helper function that would hide/show the spec...

5 years ago | 0

Answered
App Designer, how to use value of DropDown in external function file
Quick, delete the line with global variable before MATLAB police comes! Don't use global variables, unless there is really a nee...

5 years ago | 1

| accepted

Answered
App Design: stop
Actually, In callback for the stop button, set app.stopFlag = true; Within the plotting function check the property % You're...

5 years ago | 2

| accepted

Answered
[DISCONTINUED] MATLAB Answers Wish-list #5 (and bug reports)
Well, I have a small complaint about the rules on MATLAB answers. Seeing the content of some questions is frustrating, such as ...

5 years ago | 0

Answered
App Designer : Text field making visible and invisible when select and re-select same option from drop down menu
You can create a property called Last_Selection = ''; In the DropDownMenu callback function DropDownValueChanged(app,event) ...

5 years ago | 0

| accepted

Answered
Function calling: Can someone help me in figuring out why is the main function not runing ?
As you can see - Error in main (line 1) Script should be working if you remove it main file

5 years ago | 1

Answered
Can't perform git push/fetch/pull from Command Window
Try this as well, this might be the actual solution. Replace 'username' and 'your-repository' !git remote set-url origin git@g...

5 years ago | 1

| accepted

Answered
Limiting UIAxes Interactivity in AppDesigner
I am not aware of the option to save/export fig in App Designer. For limiting interactivity: ax = app.UIAxes; % change to your...

5 years ago | 0

Question


App Designer - confirm exit when application is closed from Windows bar
Hi guys, I have a simple question regarding App Designer. Sometimes I accidentally click the close button which exits the appl...

5 years ago | 1 answer | 0

1

answer

Answered
how to connect a GUI to a program
Now that I know that it's a script, I can answer the question. I assume you're using GUIDE, unfortunately I have never used it,...

5 years ago | 0

Answered
Cannot open file for reading when using system()
Supply fullpath to model file instead.

5 years ago | 0

| accepted

Answered
How to draw line logarithmic x axis and y axis
loglog(X,Y) https://ch.mathworks.com/help/matlab/ref/loglog.html

5 years ago | 0

Answered
How to modified "edit fied (text)" from app design
Add this to the value changed callback, adjust the name of your field. if length(app.EditField.Value) <= 20 Text = app.Edi...

5 years ago | 1

| accepted

Solved


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

5 years ago

Question


What is the the good practice for exchanging data in App Designer?
Let's start with a simple example: We're having a button callback that calculates the numeric field value from two other numeri...

5 years ago | 1 answer | 0

1

answer

Answered
Change or Add to greyed-out areas in App Designer
You do that by adding callback startupFcn which executes after component creation. If you are on Editor tab, click on Callback ...

5 years ago | 0

| accepted

Answered
Is there a way to get the value of all rows in uitable (in matlab gui) by just clicking one cell?
Create a CellSelection callback, it will return you indices of the selection. You can use that to get the data for selected row....

5 years ago | 0

Answered
GUI and user-defined function
Define your result as an empty array first. This may resolve your issues, depending on the rest of the code result = [];

5 years ago | 0

Answered
Code Generation: What's the Best Practice?
You can use options = optimoptions('fmincon') % example this will give you the options used by fmincon algorithm with their d...

5 years ago | 0

Answered
Divide and average method: while loop is overshooting approx. answer by one loop
Your xi and e are calculated and then if x>xi condition is checked, it should be the other way around. if x>0 && a>0 while 1 ...

5 years ago | 0

Answered
when i maximize the UIFigure of appdesigner, the buttons of the app design are dispersed. And also the size of each button vary. How can i resolve it?
There's an option for most components - AutoResizeChildren. If you remove checkmark, then it won't resize components.

5 years ago | 0

Answered
Refreshing Plot After Certain Time?
Use function drawnow to refresh the plots. If I understood the code correctly, you just need to add drawnow somewhere after plo...

5 years ago | 0

Answered
app designer does not get the value from edit field in panel
It's correct what you've written and what Xavier suggested. You need to create a property col. If col is a number, use col = []...

5 years ago | 0

Load more