![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/34521921_1722029587030.jpg)
Gavin
Washington University in St Louis
Followers: 0 Following: 0
C++, C, MATLAB, Arduino, Assembly
Spoken Languages:
English
Pronouns:
He/him
Statistics
RANK
239,312
of 297,016
REPUTATION
0
CONTRIBUTIONS
27 Questions
7 Answers
ANSWER ACCEPTANCE
81.48%
VOTES RECEIVED
2
RANK
of 20,419
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 157,725
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
Feeds
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...
12 days ago | 1 answer | 0
1
answerQuestion
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 ...
19 days ago | 1 answer | 0
1
answerQuestion
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 ...
26 days ago | 1 answer | 0
1
answerQuestion
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...
29 days ago | 1 answer | 1
1
answerQuestion
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...
4 months ago | 1 answer | 0
1
answerQuestion
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...
4 months ago | 0 answers | 0
0
answersQuestion
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 ...
4 months ago | 1 answer | 0
1
answerQuestion
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...
4 months ago | 1 answer | 0
1
answerQuestion
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...
5 months ago | 2 answers | 0
2
answersWhy 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...
5 months 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...
5 months ago | 3 answers | 0
3
answersQuestion
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\' ...
5 months ago | 2 answers | 0
2
answersQuestion
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 ...
5 months ago | 1 answer | 0
1
answerError 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 ...
5 months ago | 0
| accepted
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...
5 months ago | 0
| accepted
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...
5 months ago | 0
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...
5 months ago | 0
| accepted
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...
5 months 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...
5 months ago | 2 answers | 0
2
answersQuestion
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...
5 months ago | 1 answer | 0
1
answerIn App Designed app: When does a function called within another function spawn a new thread?
I had several confounding issues for example that RunTrial() just starts a trial then returns; so waiting until its really finis...
5 months ago | 0
Question
Error in MatLab's own routine.
How can I possibly fix this? Warning: The following error was caught while executing 'onCleanup' class destructor: Brace inde...
5 months ago | 1 answer | 0
1
answerQuestion
Error using inputdlg() second time through same code
My code works fine on the first pass but when I press the button a second time I get an error. answer is a local variable so is...
5 months ago | 1 answer | 0
1
answerQuestion
uiputfile blocks all of MatLab any error it keeps repeating, it requires CTR-ALT-DEL end task (my app) to exit
I wrote this code that ends up being an endless loop Due to weird treatment of this particular dialog I can't add a breakpoint ...
5 months ago | 1 answer | 0
1
answerQuestion
In App Designed app: When does a function called within another function spawn a new thread?
I'm having SO much trouble! I think maybe when I call a function from within another function or callback it's going into a new ...
5 months ago | 2 answers | 0
2
answersQuestion
USB callback "terminator" fails to trigger a read when messages are close together
My App Designer program uses USB communication to an Arduino It usually works but every once in a while Matlab fails to read. ...
5 months ago | 2 answers | 0
2
answersQuestion
How do I print a % character into a file
I am creating an app in App Designer, creating an output file that will be an .m file for another user to run later. I'd like ...
5 months ago | 3 answers | 0
3
answersQuestion
App designer Locks me out of editing things I need to change
I should be able to edit comments or add a comment at the top of an app created % Button pushed function: SavingFolderButton ...
6 months ago | 2 answers | 0
2
answersQuestion
append (not strcat) to combine strings with whitespace (\n)
I have a text box (text edit field, shoud it be a label box?) I want to add lines of text to it without loosing the old text. ...
7 months ago | 3 answers | 0
3
answersQuestion
What does "Interrupt while evaluating Button PrivateButtonPushedFcn." mean?
My program was working but now I'm getting this. Interrupt while evaluating Button PrivateButtonPushedFcn. If I knew more abou...
7 months ago | 1 answer | 0