Beantwortet
Assigning a context menu to a UIAxes
Hello Brian, You can attach Context Menu component to the UIAxes component by drag & drop, from the Component Browser, or from...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
change only 3 of many outputs of a function through the App Designer
I am not sure what would be the easiest way considering that Configuration.m generates a file. After you call Configuration, you...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Get boundary object from a bar plot
It looks like such object does not exist on bar anymore.

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
how can i get permission for current folder
You can't create new folder within MATLAB root folder. Change current folder on the left section to where you have write access....

mehr als 5 Jahre vor | 0

Beantwortet
Saving All Image files in a UITable in App Designer
Hello, Here's some code, but it's not tested. I don't know which one of your functions display the processed images, you can us...

mehr als 5 Jahre vor | 0

Beantwortet
HORIZONTAL BAR PLOT WITH GAPS
Here is the heatmap solution, but unfortunately it doesn't return the total time in bar. clc; clear; close all; M1 = [ones...

mehr als 5 Jahre vor | 0

Beantwortet
Matlab switch cursor from other programm to the command window while running a script
See program called Tray Everything, it allows you to hide running programs in Windows tray, and it will never lose the focus fro...

mehr als 5 Jahre vor | 1

Beantwortet
Surface plot using fitrpg
Hello, Take a look at the code below, unfortunately I can't find the link where I found an example I took the code from, but l...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
How to obtain a contour plot from given function?
You need to obtain all x values and their corresponding objective function values. Reference to the answer that the idea is take...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
batch processing (automating code processing)
This will give you the structure containing all .mat files. File_Struct = dir('**/*.mat'); Edit: Use name and folder to get t...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
How do I extract some rows in a marix that satisfy a given condition?
Hello, clc; clear; Nodi = Read_File('nodi.txt'); load demand.mat basedemand = basedemand'; % column orientation basede...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
how to save a UITable in Excell along with Rows & Column Names (Appdesigner, R2020a)
Use writetable to solve your problem, there's a Name-Value pair that corresponds to your need. Here's the example: https://www.m...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
Extract data from text file
I am going to post this as an answer without it being one, this question has been answered few times already in the last couple ...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
[DISCONTINUED] MATLAB Answers Wish-list #5 (and bug reports)
Users who edit away the questions get an explicit warning not to do it again. Freeze account/remove rights to post questions/ans...

mehr als 5 Jahre vor | 2

Beantwortet
Index exceeds the number of array elements (0) in MATLAB app designer
Hello, You can try first getting rid of the index of h, even though it should work without it. area is the child of UIAxes, if...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
Changing Data Marker Display Information
I haven't worked with diagrams like this, I think if you use nyquist, you might get a datatip that looks like on the second pict...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Plot gaplotdistance in one plot for multiple runs of genetic algorithm
Edited according to the change of testdist. More details in comments. function state = customgaplotdistance(options,state,flag)...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
error messages when installing matlab. How to fix this?
Here could be a solution for you https://www.mathworks.com/matlabcentral/answers/527179-why-do-i-receive-terminate-called-after-...

mehr als 5 Jahre vor | 0

Beantwortet
How does ANTENNA DESIGNER APP calculate the Dipole length?
From the documentation: Length — Dipole length 2 (default) | scalar Dipole length, specified as a scalar in meter...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
View content of cell array in App designer
You can use the CellSelection callback, you can get indices of the table and use it to display it in the other window. % Cell s...

mehr als 5 Jahre vor | 0

Beantwortet
How to set every Data Cursor in each column in this Figure automatically?
Edit: Answer updated (was in comments), this code is tested on R2020b and it works. OP wanted code that works with 2018b, for wh...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
How to display Command Window in App Designer in real time
Set a tag, or a unique name for your app in Component Browser, under UIFigure - Identifiers, and get its handle this way: %% i...

mehr als 5 Jahre vor | 1

Beantwortet
Set a table to print values in the app designer user interface.
If you are interested only in the end result, after loop block you can make a table from your data and just write app.UITable....

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Need help uploading an image onto app design to make a GUI
As stated, your image has to be on the MATLAB path. If you have a folder with app, and images folder within it, you should use a...

mehr als 5 Jahre vor | 0

Beantwortet
Why do my EditField / TextArea not get updated?
The save command saves your workspace into file called SelectNum, maybe without file format, I can't verify this now. You ca...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Find same temperature for each days
See discussion in the comments section, groupcounts function works well with data in the table.

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Edit Field Number in App Designer with a Workspace Variable
Of course you can, you have plenty of ways to do it. Do you call a function/script in App Designer code or what? Set a tag, or ...

mehr als 5 Jahre vor | 0

Beantwortet
error when evaluating script
quiz2 file is not found on MATLAB path. You need to use addpath to add the folder where your quiz2 is located.

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Bio formats in Matlab - Bfopen - string for filename
As seen on the error, you have to provide a file path as a character array. Quotation marks denote strings, you can adjust your...

mehr als 5 Jahre vor | 0

Beantwortet
Every time I push to the remote Git repository, I have to re-input my username and password. Is there some way to avoid this by having MATLAB R2020b store this information?
I am posting this as an answer, since we'll come to it, eventually. Change your remote depository to use the SSH !git remote...

mehr als 5 Jahre vor | 0

Mehr laden