help for this code
- From: manish sahu <manish.comp05@xxxxxxxxx>
- Date: Wed, 30 Apr 2008 07:18:51 -0700 (PDT)
if(3<4 && 3<5)
{
disp('X in class A')
tempa=v(1,1)+1;
v(1,1)=tempa;
}
where
v =
4 4 5
6 7 5
5 4 9
1 0 0
temp=0;
i am writing this code inside {} then it is showing following error
??? tempa=v(1,1)+1;
|
Error: The expression to the left of the equals sign is not a valid
target for an assignment.
but if i remove the { } then it is working properly
plz tell me reson
.
- Follow-Ups:
- Re: help for this code
- From: Jos
- Re: help for this code
- Prev by Date: how to use combolist of vsFlexArray in GUI
- Next by Date: Re: Video and Image Processing Blockset
- Previous by thread: how to use combolist of vsFlexArray in GUI
- Next by thread: Re: help for this code
- Index(es):
Relevant Pages
|