답변 있음
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...

1년 초과 전 | 1

| 수락됨

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 2 | 0

2

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

답변 있음
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년 전 | 0

| 수락됨

질문


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년 전 | 답변 수: 3 | 0

3

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 3 | 0

3

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

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

거의 3년 전 | 1

| 수락됨

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


Showing a legend for a "group" of plots
Hello, I am plotting 3 vectors (x1,x2,x3 - each has about 5 values) as lines plot([x1 x1],[0 1],'r.-');hold on ...

거의 3년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Deleting an image in an image array doesn't appear to be working
Anyone?

거의 3년 전 | 0

질문


sscanf missing first zero
Hello I need to pull out the number below from the string val='020550023 MBB' and then convert it back to a string (so I want ...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


Image Aquisition Toolbox, islogging versus isrunning confusion
Hello, I have a couple of questions over the IMAQ toolbox. 1: Im getting confused over the checks islogging and isrunning. ...

거의 3년 전 | 답변 수: 0 | 0

0

답변

질문


Deleting an image in an image array doesn't appear to be working
Hello, I have an image array consisting of 7 images. Im using an imspinner to delete an image at the required index given by th...

거의 3년 전 | 답변 수: 2 | 0

2

답변

질문


Error while evaluating UIControl Callback from a checkbox on a figure
hello, Im and trying to repeat somethign that worked in GUIDE, but not in appdesigner: when the user presses a pushbutton on my ...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Error using VideoWriter to write video frames to a file
Hello, I am trying to save a video from a FLIR camera using the gentl adaptor. vid = videoinput('gentl', 1, 'Mon...

대략 3년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Displaying 3 heatmaps on a figure side by side
Work it out: ax1=subplot(1,3,1,'parent',f1); h1=heatmap(d1); ax2=subplot(1,3,2,'parent',f...

대략 3년 전 | 0

질문


Displaying 3 heatmaps on a figure side by side
Hello, I have 3 heatmaps on a UITab (I also have the underlying data for each as arrays). I am trying to get just the 3 heatmap...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Help with extracting images from a holder and montaging
Hello, I have collected a set of images (10) using the image aquisitions tool box and they ar eheld in a variable called frame. ...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Filter a directory and add in listbox only files with TIF/TIFF and containing a certain String
Hello, I am trying to list all tif images ina folder into a listbox. I have it working but am trying to now only list those tif...

대략 3년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Create matrix with elements representing distance from centre of matrix
Here's my attempt - not sure if its the best way: n=5; % n must be odd (nxn matrix) ...

대략 3년 전 | 0

질문


Create matrix with elements representing distance from centre of matrix
Hello. If i have a 3x3, 5x5 or 7x7 matrix or generally a nxn matrix where n is odd, i want each element to represent the distanc...

대략 3년 전 | 답변 수: 3 | 0

3

답변

질문


Converting an array of doubles to a string
Whats the best way to convert v which is a class double. v = 0 0 2736 1824 ans = ...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Image Acquisiton Timing Variation
Hello, I am seeing a wide variation on timing issues using the IMAQ (with Genicam adaptor) vidobj=app.vidobj1; tic...

대략 3년 전 | 답변 수: 0 | 0

0

답변

답변 있음
Convert some columns in 'double array' to single digit, rest as bank and then put in UITable
I found this works: C = num2cell(T) app.UITable2.Data=C; app.UITable2.ColumnFormat={'c...

대략 3년 전 | 0

| 수락됨

질문


Error using tiledlayout syntax instead of subplot when referencing axes handles
Hello, I am trying to use the newer tiledlayout feature rather than subplots as I want to adjust the padding round each subplot....

대략 3년 전 | 답변 수: 2 | 0

2

답변

질문


Convert some columns in 'double array' to single digit, rest as bank and then put in UITable
Hello, I have an array (class='double) T = 1.0000 1.0000 1.0000 1.3521 0.1780 0 1.3966 10.000...

대략 3년 전 | 답변 수: 2 | 0

2

답변

더 보기