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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

| akzeptiert

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

Beantwortet
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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

| akzeptiert

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 1

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

etwa 2 Jahre vor | 0

| akzeptiert

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
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),...

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

Gelöst


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

etwa 2 Jahre vor

Gelöst


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

etwa 2 Jahre vor

Gelöst


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

etwa 2 Jahre vor

Gelöst


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

etwa 2 Jahre vor

Gelöst


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

etwa 2 Jahre vor

Gelöst


Find max
Find the maximum value of a given vector or matrix.

etwa 2 Jahre vor

Gelöst


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

etwa 2 Jahre vor

Gelöst


Inner product of two vectors
Find the inner product of two vectors.

etwa 2 Jahre vor

Gelöst


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

etwa 2 Jahre vor

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

etwa 2 Jahre vor

Mehr laden