Réponse apportée
I am learning matlab app designer for my project and facing problems to plot a graph.
I could not replicate the error. I made a simliar app (see attached). I ran it on R2023a Update 5. Is your MATLAB fully update...

plus d'un an il y a | 0

Réponse apportée
Changing the linestyles of individual lines in stackedplot subplots in AppDesigner.
I made an app to test this (see attached). I was able to replicate it in R2022b Update 5, but not R2023a. As Walter suggested, i...

plus d'un an il y a | 0

Réponse apportée
Matlab Opens smithplot in new figure
For the smithplot function, you need to change the Parent to the app.UIAxes d = dipole; freq = linspace(60e6,90e6,200); s = s...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How to specify a callback function for the CellSelectionCallback property for runtime created Tables in App Designer?
MrToad, It seems like MATLAB cannot locate the function. You could call the function from outside the app. Please see the app...

plus d'un an il y a | 0

Réponse apportée
How to update AppUI Edit Field Text from different script ?
To call the the getpercentage function successfully, you need to feed it the property variables as an input, so add "app" as an ...

plus d'un an il y a | 1

| A accepté

Réponse apportée
Adjusting the datetick issue.
clear all ; clc ;clf set(gcf,'color','w') load m_time_1516.mat x = 1 : 9; y = sin(x); m_time_1516(1) =[]; plot(datetime(m_...

presque 2 ans il y a | 0

Réponse apportée
App Designer Image Properties
You can use findall to get a handle of all the uiimages. handle = findall(app.UIFigure,'Type','uiimage'); ...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
How do I create a time-lapse video of a 3D plot?
One way is to run a similar code as shown below in Live Editor. It will automatically create a video from the for loop that you ...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
App designer - problem implementing filter based on tree nodes
Teshan, I created an app based on the scripts provided (see attached). Please let me know if this answers your question. I be...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
How do I make a uibutton the 'active' item in a GUI upon construction?
See https://www.mathworks.com/matlabcentral/answers/392925-modify-tab-order-of-app-designer-gui Below would work for R2022a a...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
I'm struggling to plot data over dateline when centred on the North Pacific using geoscatter.
load example.mat As you can see below, the data points are far apart. figure geoscatter(tow_data(:,1),tow_data(:,2),50,tow_...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
Why is the label not coming up?
I made the default text for Label2, "Choose the salts available!". This way it appears when the app first starts. If you do not ...

presque 2 ans il y a | 0

Réponse apportée
How to use public properties in matlab app designer?
I have modified your apps and attached them here. In app3, I added a Callingapp property. In code view, I clicked "App Input Ar...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Component alert (error or information message) in appdesigner
You could add a tooltip message like this: The Tooltip message can be edited under the Interactivity subheading in the Compo...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
App Building Components: where are they?
Assuming you minimized the Component Library, look to the left and double click Component Library as shown in the image below. O...

presque 2 ans il y a | 0

Réponse apportée
Do I have to resize my images?
To answer your question in regards to databases: https://www.mathworks.com/matlabcentral/answers/449046-how-can-i-resize-imag...

presque 2 ans il y a | 0

Réponse apportée
Como modificar con el mouse una grafica generada en un axes de App Designer?
https://www.mathworks.com/matlabcentral/answers/1929335-how-to-modify-with-the-mouse-a-graph-generated-in-an-axes-of-app-designe...

presque 2 ans il y a | 0

Réponse apportée
App Desginer, Select point in image to update Value Changing variable
I made an app that used a listener to retrieve the current point on an axes and update a uilabel with the value in a response to...

presque 2 ans il y a | 0

Réponse apportée
How do I read each frame of a video?
You can use a while loop as shown in the documentation here. Note, you can save a 3D/4D matrix of the video if memory permits b...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Tracking Pedestrians from a Moving Car
Here the Kalman filter object is created % Create a Kalman filter object. kalmanFilter = configureKalmanFilter('ConstantVeloci...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
How to rearrange 2x5 matrix while keeping the size the same?
x = [1, 5, 9, 4, 8; 3, 7, 2, 6, 10] x2 = reshape(sort(reshape(x,1,[])),size(x,1),size(x,2))

presque 2 ans il y a | 0

Réponse apportée
Best way to get date and time inputs from user and save as a datetime variable
% construct the data subset timerange startDateTime = datetime(s.StartDate + " " + s.StartTime, 'InputFormat', 'yyyy-MM-dd HHmm...

presque 2 ans il y a | 0

Réponse apportée
recording a plot as a video & including a suitable legend
continue_loading = 1; v = VideoWriter('Z:\MATLAB\figures\example.avi'); v.FrameRate = 60; open(v) % hold box on grid on...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
uiprogressdlg using the CancelRequested function to terminate the loop.
Everytime you run the line di = uiprogressdlg(app.progress,'Title','Progress Bar','Message','Progress','Cancelable',1); A new ...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
recording a plot as a video & including a suitable legend
Legend Problem Making up data for example eps_bar = rand(1,30); s_bar = rand(1,30); k=1; You could get the handle of th...

presque 2 ans il y a | 0

Réponse apportée
can someone help me to measure the avgferet, avgminferet and area of the edges in my image in this code
imageData = imread('C1_L1_WDa.jpg'); imshow(imageData) figure [rows, columns, numberOfColorChannels] = size(imageData); ...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
Error Troubleshooting Classification Models
I believe you meant this: mdl = fitcdiscr(Tbl, "Number") instead of mdl = fitcdiscr(Tbl, Number) Edit: Also what does your t...

presque 2 ans il y a | 0

Réponse apportée
Comparison of values and classification
Generate table: matrix = rand(1084,4); % making 4 columns because I don't feel like creating 14 column names Tbl = array2tab...

presque 2 ans il y a | 0

Réponse apportée
Script for a behavioral experiment
You could create an app with App Designer. See video below: How to Build a GUI in MATLAB using App Designer You could display ...

presque 2 ans il y a | 0

Réponse apportée
Select last numeric character(s) of the string
output = 'sucrose: 10'; numbers = str2double(extract(output, digitsPattern)) output = "sucrose10"; numbers = str2double...

presque 2 ans il y a | 1

Charger plus