please can any one solve these errors of some lines that have red underline because i am novice in matlab and i don't know the basics
here the code :
all of these lines have the same M-Lint warning "The value assigned to variable variable_name might be unused"
>> variable name which has red underline
No products are associated with this question.
On lines 4 and 7, add the comment
at the end of the line.
Change line 12 to
rather than being an assignment.
is not a valid MATLAB command.
Use addpath() to add C:\Users\TOSHIBA to your MATLAB path, and then use
Result = MatLab.Execute("run('C:\Users\TOSHIBA\test2.m')")
it is ok so so thanks Mr and the error doesn't not appear now but appear this voicebox parameters message , i don't know what is it !
second this matlab code is about speech recognition that compares two sound one of them stord sound in database and the second is recorded sound and then returns as result "matching" or a "not matching
when matching , clapping.wav is run
when not matching , wrong.wav is run
as it written in vb code which invoke matlab code
the problem here that the wrong.wav always run in vb although the recorded word is right
even in matlab when i calling test2 the ans is false not true
so what is the problem please here is the matlab code do comparing correctly!! because it runs strange sound not the record sound so please can you see what is the problem here
1. what is voicebox parameters msg ?? 2. why the vb run wrong.wav or in matlab " ans = false "??
thank you so much for your cooperation and attention and really sorry :(