Domanda


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

circa 6 anni fa | 0 risposte | 2

0

risposte

Domanda


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

circa 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 1

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

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

oltre 6 anni fa | 0

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

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

oltre 6 anni fa | 0

| accettato

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


Bin data in a strange way
Hello, I want to be able to put data into a bin but in a strange way. My bin centres are 0, -2765, -5530, -8295, -11060 ...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Risposto
Extract data from heatmap
Found it, use h.ColorData where h is the handle to the heatmap!

oltre 6 anni fa | 0

| accettato

Carica altro