Answered
How to determine if the user closed the app window?
When you run the app in your main script, you could assign a variable to its handle. app = YourApp; You can check if it is del...

1 year ago | 0

| accepted

Answered
Increase column width of a Tiltedlayout
F = figure('Renderer', 'painters', 'Position', [65 200 1250 680]); t = tiledlayout(6,3,'TileSpacing',"compact"); [X,Y,Z] = pea...

1 year ago | 0

| accepted

Answered
In a video inserted in a UIAxis, fix the position once the app running and also, delete the edit buttons of zoom, pan, home...
You can uncheck "Toolbar:Visible" under app.UIAxes within the Component Browser. See image below.

1 year ago | 0

| accepted

Answered
Hello, I am trying to get the X and Y values from a Plot. This plot is generated from a loop, and the plot represents the boundary of an image..
% The image I am trying to read A = imread('Britain.png'); % The boundaries around the image BW = im2bw(A); [B,L] = bwbou...

1 year ago | 0

| accepted

Answered
Matlab app designer spectrogram
N = 1024; n = 0:N-1; w0 = 2*pi/5; x = sin(w0*n)+10*sin(2*w0*n); Executing the spectrogram function with an output does n...

1 year ago | 0

| accepted

Answered
How to draw 2d compass in 3d UIAxes
It is possible to place the compass rose in a 3D uiaxes. Did you want to plot something in addition to this? If so, you may have...

1 year ago | 0

| accepted

Answered
I have a problem with appdesigner, can you help me?
If the checkbox is checked, it would have a value of 1. Otherwise, it would have a value of 0. The value can be found with the ...

1 year ago | 1

Answered
Trying to plot a function with adjustable variables in app designer
2.) I have a function .m file that successfully graphs what I need it to. Is there a way for me to reference that in the app? Y...

1 year ago | 0

Answered
why is the text field in app2 not showing the value I want it to show..?
Please see app2 attached. I changed two lines. You did not have a uitextarea component called "EnterthenragainTextArea" but rath...

1 year ago | 0

| accepted

Answered
write a coordinate obtained by clicking on a graphic appdesigner
It looks like your callback event "WindowMousePress" may not be triggered. You could add a callback function to your UIAxes as s...

1 year ago | 0

| accepted

Answered
appdesigner : error in a code when playing frames of a video with a slider
It looks like you are using imshow with a double. imshow(app.AllFrames(:,:,:,idx),'Parent',app.video) If you have an 8...

1 year ago | 0

| accepted

Answered
how to pass matrix as argument from app to app 2 in app designer
See the link below and let me know if you have any questions. Share Data in Multiwindow Apps

1 year ago | 0

Answered
Multiple Row Xlabels in Matlab App Designer UIFigure UIAxes
fig = figure; app.UIAxes = uiaxes(fig); You can place the following line in the startup function of your app. xlabel(app.UIAx...

1 year ago | 1

Answered
Why do I get NaNs when I try to enter characters in my UITABLE object?
Here is a quick workaround. Before loading data into the UITable, you can run the command below to make all the columns strings ...

1 year ago | 0

Answered
app designer: How can I choose the graphs that I want to be displayed?
Attached is an example using the ListBox approach that Eric mentioned. I also included an app that highlights the selected lines...

1 year ago | 0

| accepted

Answered
app designer: save a point on a graph when you click on it
You could create a listener that tracks the position of your mouse within you axes (app.UIAxes) and then save the x and y coordi...

1 year ago | 0

| accepted

Answered
How do I export an animated figure to some video format for use in a presentation?
Daniel, Please see the files attached and the code below. Saving the video should be faster when the figure's "Visible" prope...

1 year ago | 0

| accepted

Answered
How to modify with the mouse a graph generated in an axes of App Designer?
You could use listeners. See app and function attached for a simple example.

1 year ago | 0

Answered
I have 2 columns, i want to find the maximum in the second column and then know what value it is next to on the first column
Generate data M = rand(1221,2)*1000; Find max value and it's index in rows 651 to 1221 in the 2nd column of M. [maxvalue, ind...

1 year ago | 0

Answered
Maximize button in App Designer
I would use Grid Layout.

1 year ago | 0

| accepted

Answered
SOS! PLEASE SAVE MY CODE:
Instead of trying to figure out how you calculated the areas. I used the following approach to find the masks: fig = figure; ...

1 year ago | 0

| accepted

Answered
How to stop popping up of plot figures unnecessarily in Matlab app designer?
If it is due to a plot function, you need to define the uiaxes for the plot. such as: plot(app.UIAxes,x,y)

1 year ago | 0

Answered
How to superimpose one image on another in UI Axes of Matlab app designer?
Try the following: [~,~,NR_wells] = well_finder(I_final,2); hold(app.UIAxes,'on') for c = 1:NR_wells rectangle...

1 year ago | 0

| accepted

Answered
how to use elements from array to sort data
numdata = [1500 1500 500 1500 500 2500; 850 850 200 850 200 1000; 2800 2800 1700 2800 1700 5200; 500 500 300 500 300 3000; 1...

1 year ago | 0

| accepted

Answered
trying to make a donut mask to span over images, suggestions?
RGBImage = imread("peppers.png"); imshow(RGBImage) size(RGBImage) width = 300; height = 300; [x,y] = meshgrid(1:width, 1:he...

1 year ago | 3

| accepted

Answered
Calculate the duration that variable remains in a specific value
load('tab.mat') logical_array = tab.s==3000; %chose value for speed here bar(tab.t,logical_array) t2 = table; count = 0;...

1 year ago | 0

| accepted

Answered
Plot a graph with this code.
% Problem2_28.mat % Find the phase shift between 10-Hz sinusoids found in x and y in files % sines1.mat %Check load('sines1....

1 year ago | 0

| accepted

Answered
why do i get the error using alpha too many output arguments, can anyoen help please.
alpha is a function used in plotting to change transparency. Below I change alpha to Alpha and defined it as a variable equal to...

1 year ago | 0

Answered
Creating a file from different-sized files.
Did you want something like this? Note, I attached an import function called importTTfile. load('Line_2.mat') TT = importTTfil...

1 year ago | 0

Answered
Getting stuck at Confirm User while installing MATLAB
I would recommend contacting Technical support. https://www.mathworks.com/support/contact_us.html

1 year ago | 0

Load more