Community Profile

photo

Jason


Last seen: Today
367 total contributions since 2011

Contact

Jason's Badges

  • 3 Month Streak
  • Thankful Level 4
  • First Answer

View details...

Contributions in
View by

Question


Error with calling a method from one app into another
Hello, I am trying to call methods/functions from another app and have read you do it like this, but its not working. 1: Crea...

18 hours ago | 0 answers | 0

0

answers

Question


exp function no longer working.
Hello, I'm suddenly getting an error plotting a Gaussian function through the exp command: fitGaus = a*exp(-0.5*((xdataFine-b...

1 day ago | 0 answers | 0

0

answers

Question


Branching a WindowButtonDown function
Hi. I have written a windowsButtonDown function (in App Designer) to report back the coordinates of a plot on a UIAxes compone...

3 days ago | 1 answer | 0

1

answer

Question


Modifying a message / dialog box in a function for different parts of the function and automatically closing?
Is it possible (via app designer) to pop up some message box / dialog as I run a set of initialisations (i.e. serialport openin...

5 days ago | 2 answers | 0

2

answers

Question


Error when trying to check the "Tag" of a plot
I have plotted some data on a UIAxes and I need to determine if the user has mouse clicked on this UIAxes, rather than 4 other ...

8 days ago | 0 answers | 0

0

answers

Question


Limiting mouseclick event to current Axes in App Designer
Hi, I am trying to get the mouselocation on an axes - 'app.UIAxes' (using app designer). delete(findobj(app.UIAxe...

11 days ago | 2 answers | 0

2

answers

Question


Saving a specific TAB from a UITAB group to png with App Designer
Hello, I want to copy all contents on a specific tab (ResultTab) UITAB Group in Appdesigner. I have tried: f=ap...

11 days ago | 0 answers | 0

0

answers

Question


Issue with Switch state in AppDesigner
Hello, I am migrating from GUIDE to Appdesigner and can't understand why Im getting an error I have a switch that I want to cha...

12 days ago | 1 answer | 0

1

answer

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

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

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

18 days ago | 0 answers | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 months ago | 1 answer | 0

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

3 months ago | 1 answer | 0

1

answer

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

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

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

4 months ago | 0 answers | 0

0

answers

Load more