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

más de 5 años hace | 0

Respondida
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...

más de 5 años hace | 1

Resuelto


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

más de 5 años hace

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

más de 5 años hace | 1

| aceptada

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

más de 5 años hace | 0

Respondida
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...

más de 5 años hace | 1

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

más de 5 años hace | 0

| aceptada

Respondida
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...

más de 5 años hace | 0

Respondida
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...

más de 5 años hace | 1

| aceptada

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

más de 5 años hace | 2

| aceptada

Respondida
[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 ...

más de 5 años hace | 0

Respondida
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) ...

más de 5 años hace | 0

| aceptada

Respondida
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

más de 5 años hace | 1

Respondida
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...

más de 5 años hace | 1

| aceptada

Respondida
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...

más de 5 años hace | 0

Pregunta


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...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Respondida
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,...

más de 5 años hace | 0

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

más de 5 años hace | 0

| aceptada

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

más de 5 años hace | 0

Respondida
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...

más de 5 años hace | 1

| aceptada

Resuelto


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...

más de 5 años hace

Pregunta


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...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Respondida
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 ...

más de 5 años hace | 0

| aceptada

Respondida
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....

más de 5 años hace | 0

Respondida
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 = [];

más de 5 años hace | 0

Respondida
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...

más de 5 años hace | 0

Respondida
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 ...

más de 5 años hace | 0

Respondida
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.

más de 5 años hace | 0

Respondida
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...

más de 5 años hace | 0

Respondida
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 = []...

más de 5 años hace | 0

Cargar más