photo

Gavin


Washington University in St Louis

Last seen: 10 days ago Active since 2024

Followers: 0   Following: 0

Message

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

Statistics

  • First Answer
  • Thankful Level 3

View badges

Feeds

View by

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

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

2 months ago | 0 answers | 0

0

answers

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

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

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

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

2 months ago | 3 answers | 0

3

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

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

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

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

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

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

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

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

2 months ago | 1 answer | 0

1

answer

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

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

2 months ago | 1 answer | 0

1

answer

Question


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

2 months ago | 1 answer | 0

1

answer

Question


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

2 months ago | 1 answer | 0

1

answer

Question


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

2 months ago | 2 answers | 0

2

answers

Question


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

3 months ago | 2 answers | 0

2

answers

Question


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

3 months ago | 3 answers | 0

3

answers

Question


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

4 months ago | 2 answers | 0

2

answers

Question


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

4 months ago | 3 answers | 0

3

answers

Question


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

4 months ago | 1 answer | 0

1

answer

Question


Know if Serialport is connected (in App Designer program); ishandle() always true
I open a serial port to my Arduino and it usually works. I'm trying to take care of various errors, for one of which I need to k...

4 months ago | 1 answer | 0

1

answer

Question


See also ... blocks viewing of answer
I'm trying to see an answer that includes a screenshot apparently. The See Also pane is blocking much of the screen so I can't s...

4 months ago | 1 answer | 0

1

answer

Question


uiwait(msgbox("My message") dialog comes up behind the app. User never sees it.
Why does uiwait(msgbox("My message") dialog come up behind the app? My user never sees it so can't click OK. Is there a way to b...

4 months ago | 2 answers | 1

2

answers

Question


In App Designer: put new data into a (ui)table
This should be easy... Data comes in from a serial device consisting of a character and a number (time in msec) and I want to i...

4 months ago | 1 answer | 0

1

answer