Respondida
Reconstruct 3D model from slices scan (tif file)
You can tiffreadVolumeor read to import the tiff files. If you have multiple tiff files, you can read them in a loop and generat...

alrededor de 2 años hace | 1

Respondida
Optimization of a script
You can use fmincon. a = [1 1 0 1 1 1 1 0 1]; b0 = 2; % Initial guess for b c0 = 3.2; % Initial guess for c % Define the...

alrededor de 2 años hace | 0

Respondida
enter values from 0 to N (imposed value) with step of 100 on the x-axis of the bar graph
I'm not exactly sure what you want to see. Are one of the 3 graphs below what you want? matrix = [64, 440; 65, 489; 66, 581; 67...

alrededor de 2 años hace | 0

Respondida
Regression Learner App - relative weights of variables
Assuming that you exported your trained model as the variable trainedModel and that you have a linear model, you can access a ta...

alrededor de 2 años hace | 0

| aceptada

Respondida
Unable to write the signalname on signal line and block name in simulink 2009b
Have you tried right clicking the signal line and then going to Signal Properties? In Signal Properties, there should be a Name ...

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

Respondida
Tracking Pedestrians from a Moving Car
Here the Kalman filter object is created % Create a Kalman filter object. kalmanFilter = configureKalmanFilter('ConstantVeloci...

más de 2 años hace | 1

| aceptada

Respondida
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))

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

Cargar más