Answered
How to display the value of a variable in real time in a uitable through appdesign
Yes, this is possible. To implement this in App Designer, you will access the "Data" property of the UITable. app.UITable.Data ...

6 months ago | 0

Answered
Is there someway I can use the eeglab toolbox with matlab online?
If you select "Get Add-ons" on the Home tab and search for "EEGLAB" you will find an option to install it as an add-on directly ...

6 months ago | 0

Answered
Reading data from file with jsondecode
Have you tried readstruct? It will create a structure from JSON data, and you can even parse by selected standards.

6 months ago | 0

Answered
Matlab plot disappears after editing X and Y limits
Difficult to say without seeing the actual code, but you can try something like this: ax = gca; ax.XLim = [1 10]; % Use your v...

6 months ago | 0

| accepted

Answered
how to plot confusion matrix from confusion matrix?
load confmat.mat % Calculate the percentage accuracy for each class percentageAccuracies = (diag(confmat)' ./ sum(confmat,...

6 months ago | 0

Answered
Setting colormap to lines from streamslice
You could just randomly generate the colors: load wind lineObj = streamslice(x,y,z,u,v,w,[],[],5,'noarrows'); for ii = 1:leng...

6 months ago | 0

| accepted

Answered
How i add the button for the Time axis to user can change time in the given MATLAB App designer
The property you want to change is app.UIAxes.XLim. You could implement this with a ButtonPressedFcn callback (like you have don...

6 months ago | 0

Answered
Creating Variable Names from Strings
As other users have stated, it is generally not advisable to dynamically generate variable names from a string using eval. Howev...

6 months ago | 0

| accepted

Answered
How to get Sharing Details in App Designer
When you go to package the app there is a field for the version number. When the app is installed, the user can view the ve...

6 months ago | 0

Answered
Issues with EDF file data record duration
https://www.mathworks.com/help/signal/ref/edfread.html https://www.mathworks.com/help/signal/ref/edfwrite.html You will have t...

6 months ago | 0

Answered
how MATLAB determines order of monitors
https://www.mathworks.com/help/matlab/ref/matlab.ui.root-properties.html#buc8_0n-MonitorPositions Can you share the values you ...

6 months ago | 0

Answered
How to combine multiple .fig files into one .fig file?
https://www.mathworks.com/matlabcentral/answers/444601-copying-the-content-of-a-figure-to-another-figure

6 months ago | 0

Answered
how to perform lag correlation between two spatial data?
If you input two matrices, A and B, into corrcoef, corrcoef will convert them into their vector representation equivalent to cor...

6 months ago | 0

Answered
How to run standalone application from the folder where it is located?
cd yourLocalFolder; system("yourApp.exe") % If your app has additional inputs: system('"yourApp.exe" arg1 arg2') % If you ...

6 months ago | 0

Answered
Error using function: Too many input arguments.
"net" is not configured for as many inputs as you are providing. You will either need to reduce your number of inputs or edit th...

7 months ago | 0

Answered
If part of While loop not executing any functions
You're never entering the loop. You will only ever enter that loop if PF = 0 because isempty(PF) will always yield 0 if a value ...

7 months ago | 0

Answered
Generating PDF or DOC Report from MATLAB App's Textbox Data and Graph
This is a fairly straightforward app that could just be implemented as a Live Script instead. From there it's as simple as expor...

7 months ago | 0

Answered
Issue with MATLAB App Designer and Undefined Function Error
It is generally advised to keep all necessary code contained within the app when possible. I would recommend implementing your f...

7 months ago | 0

| accepted

Answered
Plot graph not shown
I would recommend tiledlayout instead. stackedplot seems to be dynamically resizing your plots, tiledlayout does not do this. Of...

7 months ago | 0

Answered
How to reduce the execution time of the given piece of code?
The Profiler is the perfect tool for this. You will be able to see a thorough breakdown of the runtime of your code, and identif...

7 months ago | 1

Answered
R2023b Silent Install Fails on Windows
https://www.mathworks.com/support/contact_us.html

7 months ago | 0

| accepted

Answered
Slow uiaxes interactions with app designer
Most of the delay you're seeing is due to the uifigure, not uiaxes. Using figure with uiaxes instead of uifigure should speed th...

7 months ago | 0

Answered
how to close all apps simultaneously?
Generally, you can just use "delete" myHandle = myApp; delete(myHandle) I would recommend baking this into the "UIFigureClose...

8 months ago | 0

Answered
How to select a specific cell in UITable?
[rows, ~] = find(value == UITable.Data) UITable.Data(r,:)

8 months ago | 0

| accepted

Answered
How to save parameter function in app designer?
If by "save the data" you just mean you want to store it for use within your current MATLAB session (within the App or outside),...

8 months ago | 0

Answered
Help: How to use 'for' loop to plot multiple different values when using while loop for function?
If you're trying to avoid plotting on the same figure, you could move your "figure(1)" command into the "if" statement and place...

8 months ago | 0

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

8 months ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

8 months ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

8 months ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

8 months ago

Load more