Community Profile

photo

avram alter


21 total contributions since 2019

i no longer live in a van

avram alter's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


change variable value based on other variable in if loop
I have a simple code that takes a user's input, and then changes 2 variables based on that: var1 = 0; var2 = 0; in1 = input('...

24 days ago | 1 answer | 0

1

answer

Question


convert xlsread code to use a cell array
I have a code that compares the cells of an excel sheet to incoming data over serial. The incoming string looks like this: Read...

25 days ago | 0 answers | 0

0

answers

Question


remove the functionality of special characters
I have a cell array that contains the '%' character C = {000000020F0D0%, 0000000281830%, 0071803F01CF0%, 0071803F6AA40%}; ...

25 days ago | 2 answers | 0

2

answers

Question


add file to matlab using last date
I have a bunch of files in a folder, with names that look like this: squad1_1910_St4_Se8 squad1_1910_St2_Se3 squad1_1910_St1_...

1 month ago | 1 answer | 0

1

answer

Question


automatically iterate numbers in a text file
I have a text file that looks like this: LOAD BOX 1 SUBJ M1_299633_D295158_JUN19@1910_Aut_ERROR2 EXPT St6_Se4_Rat1 GROUP 1 PRO...

1 month ago | 1 answer | 0

1

answer

Question


empty output when indexing excel file
I have an excel file that has the dates in column A. other columns are filled with info pertaining to that day. I want to be ab...

1 month ago | 1 answer | 0

1

answer

Question


editing a string using GUI editable text/popup within guide
I have a string, where I use strrep to replace a variable witha user input: string = ('Today, I ate some (x)') user_input = in...

2 months ago | 1 answer | 0

1

answer

Question


extract specific file from list of folders
I have 2 folders called EXP1, and EXP2, and within each of those folders is 4 folders, labelled 1-4. I have a code which adds ea...

2 months ago | 1 answer | 0

1

answer

Answered
delimit a text file based on columns of cells
I figured out how to do it. basically, use the function newstr = compose(str) so I just added the newline character to the end...

2 months ago | 0

| accepted

Question


delimit a text file based on columns of cells
I have a text file that looks like this: LOAD BOX 1 SUBJ M1_299633_D295158_JUN19@1910_Aut_ERROR2 EXPT St(m)_Se(n)_Rat1 GROUP 1...

2 months ago | 1 answer | 0

1

answer

Answered
Importing and Editing a text file using strrep and user inputs
I found the answer, here is the corrected code: clear Mac_Templ = importdata('EXP1_SQ1_Template.txt'); user_input_stage = inp...

2 months ago | 0

| accepted

Question


Importing and Editing a text file using strrep and user inputs
I have a text file called EXP1_SQ1_Template.txt, that has 8 lines. it looks like this: LOAD BOX 1 SUBJ M1_299633_D295158_JUN19...

2 months ago | 2 answers | 0

2

answers

Question


Editing Specific numbers in a .txt file with matlab GUI Using search/replace
This is copy-pasted from a stack exchange question. I have a bunch of different template .txt files that I want to be accessed ...

2 months ago | 1 answer | 0

1

answer

Answered
iterate through multiple serial ports, one after another (not simultaneously)
readers 1 and 2 (both on com3) work perfectly now. however, when a tag is held up to the third reader (on Com4), I get this erro...

3 months ago | 0

Question


iterate through multiple serial ports, one after another (not simultaneously)
I have a program that utilizes incoming serial data to do a strcmp with data stored in excel. the string initially comes in look...

4 months ago | 2 answers | 0

2

answers

Question


use a push button to close the GUI
I have a GUI that has a pushbutton that gets enabled once a certain condition has been met. I want to use that push button to th...

4 months ago | 1 answer | 0

1

answer

Question


feval error in GUI implementation
I have this code that I have bult that compares a string coming over serial data to one that is stored in an excel file. A corre...

4 months ago | 1 answer | 0

1

answer

Question


Using a script to change uicontrol values in a gui
I have a code that initializes a GUI, and then take serial data, compares it to excel master files, and then changes the colors ...

4 months ago | 1 answer | 0

1

answer

Question


unexpected MATLAB expression in app designer, using app designer in general
I wrote a code that compares a code coming in from a serial reader to a known set of codes. This is the code: delete(instrfind(...

5 months ago | 1 answer | 0

1

answer

Question


How to make a panel in Guide change color
I am working on a system where materials have to be placed in a certain box at a certain time. I am using Arduinos connected to...

5 months ago | 0 answers | 0

0

answers

Question


How can I view arduino Serial monitor data in matlab, when I have 2 arduinos?
I have 2 arduino megas running the same program connected to the same computer. What script would allow me to iterate through th...

8 months ago | 1 answer | 0

1

answer