Answered
How to create Timetable with .txt file?
Import tool https://www.mathworks.com/help/matlab/import_export/import-data-interactively.html

19 days ago | 0

Answered
size() function returns wrong size
k_labels should return 1x1 array with value of zero. Did you clear workspace from previous runs? From the documentation on fun...

20 days ago | 0

| accepted

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

20 days ago | 1

| accepted

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

21 days ago | 0

| accepted

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

22 days ago | 0

| accepted

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

22 days ago | 0

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

23 days ago | 0

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

23 days ago | 0

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

23 days ago | 1

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

24 days ago | 0

| accepted

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

25 days ago | 0

| accepted

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

25 days ago | 0

| accepted

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

25 days ago | 0

| accepted

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

26 days ago | 1

| accepted

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

26 days ago | 1

| accepted

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

26 days ago | 2

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

26 days ago | 1

| accepted

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

26 days ago | 0

| accepted

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

27 days ago | 0

| accepted

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

28 days ago | 0

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

28 days ago | 0

| accepted

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

29 days ago | 0

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

29 days ago | 1

| accepted

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

29 days ago | 1

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

30 days ago | 0

| accepted

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

1 month ago | 0

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

1 month ago | 0

| accepted

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

1 month ago | 0

| accepted

Answered
App Designer - error using the function 'drawpoint' :
See attached demo file, there should be no issues with your code. Press button to select ROI.

1 month ago | 0

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

1 month ago | 0

Load more