photo

Gavin


Washington University in St Louis

Last seen: 1 day ago Active since 2024

Followers: 0   Following: 0

Message

Programming Languages:
C++, C, MATLAB, Arduino, Assembly
Spoken Languages:
English
Pronouns:
He/him

Statistics

MATLAB Answers

34 Questions
10 Answers

RANK
239,312
of 300,331

REPUTATION
0

CONTRIBUTIONS
34 Questions
10 Answers

ANSWER ACCEPTANCE
73.53%

VOTES RECEIVED
3

RANK
 of 20,920

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,124

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • First Answer
  • Thankful Level 3

View badges

Feeds

View by

Answered
Restart a USB connection
See this same issue with a solution here https://www.mathworks.com/matlabcentral/answers/2173049-how-do-i-reconnect-usb-serial-...

1 day ago | 0

Question


inputdlg() now crashes.
My program has been running fine for months. I updated Windoze 11 as MS kept bugging me to do and now inputdlg() doesn't work. A...

2 months ago | 1 answer | 0

1

answer

Answered
Random lags while running app
Turns out it takes a LONG time to update a graph. I moved the screen updates to happen AFTER the start of the next trial and th...

3 months ago | 0

| accepted

Question


Configure a callback in App Designer to be non-interruptable
I'm using USB connected Arduino device and have the following line: configureCallback(app.PicoCom,"terminator",@app.PicoInput);...

3 months ago | 1 answer | 0

1

answer

Answered
Small change in App Designer program and now it crashes App Designer
Good riddance to etchedin!

3 months ago | 0

| accepted

Question


Random lags while running app
I have an App Designed application that collects data from an Arduino Pico. The Pico runs individual trials with accurate to su...

3 months ago | 2 answers | 0

2

answers

Question


istable() returns false for my table
I create a table under certain conditions, later want to check if it is a table yet. Checking in the command window I get this ...

3 months ago | 1 answer | 0

1

answer

Question


Small change in App Designer program and now it crashes App Designer
I made a few changes to my program and now this version won't load properly. It crashes App Designer so I can't close it without...

3 months ago | 1 answer | 0

1

answer

Question


App Help Text can not be edited
When I do a Save As... (to create a new version of my app. in App Designer, it now (since 2023?) asks to reload as if it was bei...

5 months ago | 0 answers | 0

0

answers

Question


Incoming USB characters lost
I have an Arduino Pico connected to MATLAB and I use Terminated (CR/LF) trigger to read the input. Each message is about 10 to 1...

6 months ago | 0 answers | 0

0

answers

Question


How do I make EditText HorizontalAlignment to the right work?
Why can't I ask my question: How do I make EditText.HorizontalAlignment = 'right' work? Description is blocked from being us...

9 months ago | 1 answer | 1

1

answer

Question


Why is trailing back space removed from my folder name?
I have a subfolder named .\results (I give the whole name) Allowing the user to change it I have name app.defOutLoc as default ...

9 months ago | 1 answer | 0

1

answer

Question


Detecting a serial port valid after disconnect/reconnect
I asked before with a long question and got no answers, so let's keep it simpler. Serial port is connected to Arduino Arduino ...

9 months ago | 1 answer | 0

1

answer

Question


How do I reconnect USB serial that gets lost programatically.
MatLab R2024b using AppDesigner on Windows 10 Enterprise My GUI app connects to an Arduino which sometimes looses it's connecti...

9 months ago | 1 answer | 1

1

answer

Question


How can I keep my app in front on the screen?
When certain functions are called such as uigetfile() or uigetdir() after the file or directory is chosen the AD generated app g...

12 months ago | 1 answer | 0

1

answer

Question


App Designer 2024b broken
I was fine using AD in 2023b but now with 2024b I'm finding weird things. Asking if anyone else has seen these issues. (I also r...

1 year ago | 0 answers | 0

0

answers

Question


Not enough trace back to find error
Apparently I have {} where I should have () I guess. I get this warning but the traceback list doesn't go far enough to find my ...

1 year ago | 1 answer | 0

1

answer

Question


Short Pause doesn't come back
Using App Designer I was running my program with no breakpoints set. Suddenly it stopped running in a place it shouldn't so I b...

1 year ago | 1 answer | 0

1

answer

Question


Delete a timer object in it's callback
I have short timer callbacks to change a color from a button press or other action back to it's original color. This gives a nic...

1 year ago | 2 answers | 0

2

answers

Answered
Why did CD folder; give such a goofy error message when I just forgot ()
All good answers and I would have retracted the question once I noticed I'd forgotten the () Of course cd (apploc) is what I wa...

1 year ago | 0

| accepted

Question


Compare char data in a cell {'x'} to a character 'x'
I want to find what's in my table that's in a category column 1 If you read through you will see what I tries and how I finally...

1 year ago | 3 answers | 0

3

answers

Question


Why did CD folder; give such a goofy error message when I just forgot ()
It works other places but suddenly I can change directory K>> apploc apploc = 'C:\Users\CPSLab\Documents\OdorChoiceDev\' ...

1 year ago | 2 answers | 0

2

answers

Question


How do I do char2num (assume Ascii)?
num2 char is easy enough num = char(122) returns 'z' ; but how can I get back to the ascii value from a char? Do I really have ...

1 year ago | 1 answer | 0

1

answer

Answered
Error in MatLab's own routine.
Confusion between {} () and [] and when to use commas between elements and if they need quotation marks or not and if so ' ' or ...

1 year ago | 0

| accepted

Answered
USB callback "terminator" fails to trigger a read when messages are close together
See answers to other ways I asked this question and related issues https://www.mathworks.com/matlabcentral/answers/2152950-in-a...

1 year ago | 0

| accepted

Answered
How to develop a FIFO Circular Buffer for analyzing real-time data?
For a simpler case of needing a circular buffer to process USB or other irregularly timed input, try this: Initialize the buffe...

1 year ago | 0

Answered
In App Designed app: When does a function called within another function spawn a new thread?
See where @Umar laid it out very well my related issue and provided several solutions to that part of the problem https://www.m...

1 year ago | 0

| accepted

Answered
uiputfile blocks all of MatLab any error it keeps repeating, it requires CTR-ALT-DEL end task (my app) to exit
I changed from uiputfile() to uigetdir(startingFolder... as that is what I was really looking for: Where will the output files g...

1 year ago | 0

| accepted

Question


Can I call a function from another function and not come back?
I am running a function which at the end either returns or calls another function. Way back in the old days in assembler I'd do...

1 year ago | 2 answers | 0

2

answers

Question


waitfor( ) isn't working for a SerialPort
Seems simple my code does this to be sure everything has been processed from the USB port connected to an Arduino Pico. if (app...

1 year ago | 1 answer | 0

1

answer

Load more