avram alter
Followers: 0 Following: 0
Feeds
질문
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...
거의 3년 전 | 답변 수: 1 | 0
1
답변질문
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,:))... ...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
대략 4년 전 | 답변 수: 1 | 0
1
답변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...
대략 4년 전 | 1
| 수락됨
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...
대략 4년 전 | 0
| 수락됨
질문
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...
대략 4년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 4년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 4년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 4년 전 | 답변 수: 1 | 0
1
답변질문
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('...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
remove the functionality of special characters
I have a cell array that contains the '%' character C = {000000020F0D0%, 0000000281830%, 0071803F01CF0%, 0071803F6AA40%}; ...
4년 초과 전 | 답변 수: 2 | 0
2
답변질문
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_...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
4년 초과 전 | 답변 수: 1 | 0
1
답변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...
4년 초과 전 | 0
| 수락됨
질문
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...
4년 초과 전 | 답변 수: 1 | 0
1
답변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...
4년 초과 전 | 0
| 수락됨
질문
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...
4년 초과 전 | 답변 수: 2 | 0
2
답변질문
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 ...
4년 초과 전 | 답변 수: 1 | 0
1
답변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...
4년 초과 전 | 0
질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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(...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
4년 초과 전 | 답변 수: 0 | 0