Question


Returning the "column" number of a Button Down function on an image (GUIDE)
Hello. I have an image loaded onto an axes component in GUIDe and I want the mouse location over the squares to drive an xystage...

6 years ago | 0 answers | 0

0

answers

Question


Heatmap seems to delete axes component
Hello, I am creating a heatmap and displaying it on an axes component (GUIDE), B is my matrix data. ax=axes(handles.axes2) h1 ...

6 years ago | 1 answer | 0

1

answer

Question


Serial Communication Terminator using the new configureTerminator
Hello, before 2019b, the method to open serial ports with "serial" allowed the terminator to be set to nothing i.e. ''. set(s,'...

6 years ago | 0 answers | 2

0

answers

Question


Duplicate a Catergorical Barchart on an axes component to a new figure - Xticklabels are messing up
Hello. I have a GUIDE Gui with several axes components on. One of these (Axes(handles.axes2) has a barchart on with a Catergor...

6 years ago | 0 answers | 0

0

answers

Question


Whats the correct way to remove all links (including appdata) to a serialport
I often create a serial port object, s and save it from a button callback using s = serialport('COM2',19200) setappdata(0,'ser...

6 years ago | 0 answers | 0

0

answers

Question


Help with centralling text values above a Bar Chart with side by side data
Hello, I am plottign a barchart from data from a uitable. I have 2 ydata sets that I plot next to each other as below. I am ...

6 years ago | 1 answer | 0

1

answer

Question


Opening Function Figure Maximize Anomaly (GUIDE)
After updating from 2019a to 2019b, I am having problems with figure maximize. I have created a GUI using guide, and in the ope...

6 years ago | 1 answer | 0

1

answer

Question


Plot command changing the graph background and grid line colours in GUIDE
Hi. Im using GUIDE and have several axes components that I use to display graphs. One of them i want to have a dark backgrou...

6 years ago | 1 answer | 0

1

answer

Question


Delete a specific shape of marker from a plot
Hello, I am plotting data using dots and then superimpose a marker of type '+' at certain locations. Is it possible to delete ju...

6 years ago | 1 answer | 0

1

answer

Question


Serial to SerialPort Object conversion
Im porting my RS232 code from serial to the new serialport as suggested in 2019b. I had previously used to check if any ports...

6 years ago | 0 answers | 0

0

answers

Question


Converting and Instrument Object Array (instrfind) into strings?
Hello, Im using an edit box (GUIDE) as a message reported by utilising multi lines (by setting max property >1) I have a functi...

6 years ago | 1 answer | 0

1

answer

Question


Multi line edit box, adding text to the top rather than the bottom
Hello, I have a text box in guide that I use as multi line to keep track of events. To add a new string to the message box I d...

6 years ago | 1 answer | 0

1

answer

Question


Finding index (x value) of noisy data crossing a threshold value
Hello, I have some "noisy" data (xth_col) as shown by the red curve. I smooth this (black curve) first using: win=200 d1=...

6 years ago | 2 answers | 0

2

answers

Question


Extract specific row from an image and average with a variable number of adjacent rows
Hello. I have an image that I perfrom a "linescan" at a specific row at 'xcol' I want to create a "thick" linescan so include...

6 years ago | 1 answer | 0

1

answer

Question


Weird Calculation difference using uint16 and double for an image
Hello, I have a function that calculates the "contrast" of a greyscale image function FM=CalculateBrenner(Image) ...

6 years ago | 1 answer | 0

1

answer

Question


Remove coordiantes with less than n repeats in y coordinate
Hello. I have a set of x,y coordiantes: I want to remove all corrdinates in which there are less than 'n' repeats in the...

6 years ago | 1 answer | 0

1

answer

Question


Cell array indexing in loop for subplot titles
Hello, I can't see where my mistake is. I have data (from a uitable) in whcih columns 2-6 are values I want to plot on 5 diff...

6 years ago | 1 answer | 1

1

answer

Question


Mat2Cell error when splitting an image up into smaller images
Hello, i have a large Image (3200 x 14444 pixels). I want to split it into subimages. Im using mat2cell but Im getting the erro...

6 years ago | 1 answer | 0

1

answer

Answered
GUIDE, images, memory issue
Seems I forgot to put global in my clear function global imgArray imgArray=[];

6 years ago | 0

Question


GUIDE, images, memory issue
Hello, I have a memory Issue. I am capturing upto 500 images (12 bit tiffs) and storing them in an array. I preallocate me...

6 years ago | 1 answer | 0

1

answer

Question


GUIDE uitable saved to excel WITH column headings
Whats the best way to save a GUIDE uitable to an excel file. The uitable consists of doubles and I need to include the headings...

6 years ago | 0 answers | 0

0

answers

Question


Conversion of uitable Column Names to Table Column Names
Hi, I have a uitable (containing doubles) that I am writing to an excel file by first converting it to a table, then using Writ...

6 years ago | 1 answer | 0

1

answer

Question


Changing the For LOOP conditions
Hello. I have a for loop that starts with image number 1 and ends with the last image n. for i=1:n Sometimes, I only need t...

6 years ago | 2 answers | 0

2

answers

Question


GUIDE hack to UITABS not quite working as expected
Hello, I have tried to follow the link below to "hack" a uitab group using guide. In short it uses panels that are assigned to a...

6 years ago | 0 answers | 0

0

answers

Question


How to reset a MultiDimensional Array to allow a fresh building of the MDA
Hello. I am trying to find statistical variations between upto 10 matrices. the idea is everytime I run my code via a pushbutto...

6 years ago | 1 answer | 0

1

answer

Question


Max or Min values of multidimensional array with variable number of arrays (3rd dimension)
Hello, I have a upto 10 arrays of data that I "stack" using the 3rd index i.e. if my arrays are A, B, C....J etc CombinedArray...

6 years ago | 1 answer | 0

1

answer

Question


Copying a heatmap (in a subplot) to clipboard
Hi, I have 4 subplots of which the 1st one is a heatmap. I would like to automatically put this into clipboard and have tried th...

6 years ago | 1 answer | 0

1

answer

Question


Issue with push button userdata
Hello. I am trying to enable a push button to exit a loop if its pressed and decided to user the buttons "UserData". So I...

6 years ago | 0 answers | 0

0

answers

Answered
Cannot close connection. MATLAB connection to Due at COM9 exists in your workspace. To create a new connection, clear the existing object.
We solved it using this: try clear myArduinoAddonLibrary = getappdata(0,'ARD_AD'); clear myArduinoAddonLibrary; ...

6 years ago | 0

| accepted

Question


Cannot close connection. MATLAB connection to Due at COM9 exists in your workspace. To create a new connection, clear the existing object.
I cannot close the ports of the arduino after a GUIDE GUI program. All the commands I have tried at the exit function are: try...

6 years ago | 2 answers | 0

2

answers

Load more