photo

avram alter


Last seen: bijna 3 jaar ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 3

View badges

Feeds

View by

Question


operand (&&) error when trying to set a parameter
I have a block of code that evaluates one matrix, BOX, with anohter matrix, TruveValMat. each of these has 8 values that need to...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


execute function if any evaluation is found to be false
I have a bunch of variables, and my program checks to make sure they are equal: if strcmp(TrueValMat{2,1}, BOX(1,:))... ...

ongeveer 4 jaar ago | 2 answers | 0

2

answers

Question


how to get a code to ignore variables under certain conditions
Sorry if the title is a bit vague. basically, I have a code that takes a scanned RFID tag, and compares it to a tag stored on an...

ongeveer 4 jaar ago | 0 answers | 0

0

answers

Question


using the function waitfor() properly
I have a code that scans an incoming string from the COM3 serial port, and reads it into a variable. The serial port is constant...

bijna 5 jaar ago | 1 answer | 0

1

answer

Answered
comparison of multiple thing speak fields with mat lab
you can set your fields to variables, and use logical evaluators under your personal parameters: field1 = %set this to equal th...

bijna 5 jaar ago | 1

| accepted

Answered
search through an excel file, and save sheet and cells as variables
Walter Roberosn provided the correct answer for me in a different thread: https://www.mathworks.com/matlabcentral/answers/502472...

bijna 5 jaar ago | 0

| accepted

Question


array exceeds limits when scanning serial info
I have a code that scans incoming serial information in the form of an alphanumeric tag. The program then looks through an excel...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


find strings in excel on different sheets
I found a question asking a basically the same thing as me: https://www.mathworks.com/matlabcentral/answers/502430-search-throug...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


search through an excel file, and save sheet and cells as variables
I have an excel file that wil have up to 15 sheets in it. I have added a small example here that demonstrates what it looks like...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


convert xlsread to readcell
i have a code that uses xlsread, in a bit of an awkward way: addpath('C:\Users\Administrator\Dropbox (********)\******** Team F...

bijna 5 jaar ago | 1 answer | 0

1

answer

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

bijna 5 jaar 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...

bijna 5 jaar 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%}; ...

bijna 5 jaar 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_...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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 ...

bijna 5 jaar 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...

ongeveer 5 jaar 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...

ongeveer 5 jaar 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...

ongeveer 5 jaar 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...

ongeveer 5 jaar 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 ...

ongeveer 5 jaar 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(...

ongeveer 5 jaar 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...

ongeveer 5 jaar ago | 0 answers | 0

0

answers

Load more