Question


Running a mlapp file from another mlapp file via pushbutton callback
Hello, I have a mlapp file and want to run another one from a pushbutton. Following the link below, I'm able to run my 2nd ma...

1 year ago | 1 answer | 0

1

answer

Question


Retaining Bit depth when creating a video from Grayscale Images
Hello, I am trying to create a video (MP4 file) from a stack of 16 bit Grayscale images. My code is below. I see that using ...

1 year ago | 1 answer | 0

1

answer

Answered
Create an MP4 video from a set of 16 bit images (mono)
I think I've nearly done it myself. 1: The framerate issue was just a typo (missed the capital "L" it should be diskLogger.F...

1 year ago | 0

Question


Create an MP4 video from a set of 16 bit images (mono)
Hello, I have a cell array of images (app.imgArray) that are all 16 bit. Im trying to output them as a video file (preferable mp...

1 year ago | 1 answer | 0

1

answer

Question


Saving a struct to a text file exactly how it appears in command window
Hello, I have a struct called settings. I am wanting to save it to a text file in an easily readable format. Im trying to avoid ...

1 year ago | 1 answer | 0

1

answer

Question


Saving a Plot on a Figure with Transparency Ignores the Transparency
Hello, I am trying to replicate some of Excels fancy plots in Matlab. In particular when I plot data, Im also plotting the sam...

1 year ago | 1 answer | 0

1

answer

Answered
Copy graphics from figure to UIAxes
Done it, had to get the children of the axes on the figure! h=openfig(openpath); Ax=h.Children g=Ax.Children ...

1 year ago | 0

| accepted

Question


Copy graphics from figure to UIAxes
Hello, I create a plot on a UIAxes with many plots and text objects. I wanted to be able to save them and later on add addition...

1 year ago | 1 answer | 0

1

answer

Question


cla reset stops UIAxesButtonDown from working
Hello. I have a UIAxes that I plot on and I want to manually be able to add text where ever I click on the graph. I am using th...

1 year ago | 2 answers | 0

2

answers

Answered
Graphic Objects Array Items to Text
Heres the full answer: clc; ax=app.UIAxes; b=ax.Children; % b(1) is last objec...

1 year ago | 0

| accepted

Question


Graphic Objects Array Items to Text
Hello. I want to view all the graphics objects I have on a UIAxes, and have used the following in an attempt to output all the ...

1 year ago | 2 answers | 0

2

answers

Question


Stopping showing a MP4 file (frame) by exit button
Hello,I am reading a mp4 video and have created a figure with the axes, and two buttons. My two buttons for play and exit have ...

1 year ago | 1 answer | 0

1

answer

Question


vertical concatenate strings in msgbox
Hello,I cant understand why this vertical concatenation of strings isn't working. v = VideoReader(filename); ...

1 year ago | 2 answers | 0

2

answers

Question


Identifying blobs and area filtering
Hello, Im trying to identify the centres of the drops in the image below. Although in each drop there is a bright area, I dont c...

1 year ago | 2 answers | 0

2

answers

Question


Circularity Metric using regionprops
Hello, this is a related to an earlier question but Im after a different parameter so I have asked another question. Apologies i...

1 year ago | 1 answer | 0

1

answer

Question


Diameter of Almost circular objects and degree of circularity
Hello, I am trying to measure the diameter of central white spot and the dark area. I understand they perfect circles b...

1 year ago | 1 answer | 0

1

answer

Question


Remove all rows of an array based on a value in a column, and also remove all rows that have the same values as this row in other columns
Hi, I have the centroids (x,y) of e.g 3 objects as shown in the pic: I also have an array of the centroid locations (x,y) o...

2 years ago | 1 answer | 0

1

answer

Question


Remove centroid locations of objects that are too close
Hi, I have a list of centroid locations of spots in an image (xf, yf). The spots are randomly distributed. I want to remove the...

2 years ago | 2 answers | 0

2

answers

Answered
Content of uiFigure lost when using savefig()
Hi Daniel. I dont have a solution but I have run into a similar issue where I have a uigridlayout on a uifigure and it doesn't o...

2 years ago | 1

| accepted

Question


Sending Text to Hex in serial Port
Hello, I have managed to send hex commands to a pump using the serial port (that requires the commands to be in hex) msg=[0xFF...

2 years ago | 1 answer | 0

1

answer

Question


Try and Catch for multiple conditions
Hello. If I have say 10 conditions and each one may fail, rather than have a try and catch round each condition, is there a bett...

2 years ago | 2 answers | 0

2

answers

Question


Linear fit over multiple Rows without using Loops (or polyfit)?
Hello, I have a matrix of data I=[1.8,3,3.6,4.2,4.7,5.3,5.5;3.3,4.2,4.8,5.3,5.8,6.3,6.6;4.5,5.6,6.3,6.8,7.3,7.9,8.2;6.1,6.9,7...

2 years ago | 1 answer | 0

1

answer

Answered
Passing Arguments to a UIMenu selected Function
I think I have a solution, I can pass which ever axes (or number of axes) to myax as follows app.myax(1)=ax1; app.myax(2)=ax...

2 years ago | 0

| accepted

Question


Passing Arguments to a UIMenu selected Function
Hello, I am creating a uimenu option on a figure that contains plots so I can scale the ylimits as I wish (i.e. force min ylim t...

2 years ago | 3 answers | 0

3

answers

Question


Assigning NaN to variables, inserting into a cellarray and then plotting Error
Hello, I have a load of images of a spot that I loop through and find certain characteristics such as the centroid of the spot. ...

2 years ago | 1 answer | 0

1

answer

Question


Looping through 4 Images that have fixed names
Hello. I have 4 images in memory that I want to loop through and perform some analysis on. I can't find a way to do this. The i...

2 years ago | 3 answers | 0

3

answers

Question


Sending four byte commands To serial port
Whilst I am familiar using the Serialport objects in Matlab with text, Im not sure to how to use the protocol "four byte command...

3 years ago | 1 answer | 0

1

answer

Question


Create a top hat function
Hello, Im trying to create a top hat function (that is 0 everywhere except between -halfpix & halfpix). the fucll width of the t...

3 years ago | 1 answer | 0

1

answer

Answered
Grid not showing on UIAxes
Seems you need to do this. set(gca, 'XTickMode', 'auto', 'XTickLabelMode', 'auto')

3 years ago | 1

| accepted

Question


Grid not showing on UIAxes
Hello. I am plotting some data on a Canvas in appdesigner, and the grid isn't showing. (The plot is fine) ax=app...

3 years ago | 1 answer | 0

1

answer

Load more