MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Increment shortcuts (++, +=) 

Is there a way to use these kind of shortcuts like in C? It's annoying to have to write x=x+1. 
Subject: Increment shortcuts (++, +=) From: Oleg Komarov Date: 12 Feb, 2010 11:17:05 Message: 2 of 13 
"Peter Bone" 
"Oleg Komarov" <oleg.komarovRemove.this@hotmail.it> wrote in message <hl3dbh$cs7$1@fred.mathworks.com>... 
Subject: Increment shortcuts (++, +=) From: Steven Lord Date: 12 Feb, 2010 15:24:30 Message: 4 of 13 

Subject: Increment shortcuts (++, +=) From: Oleg Komarov Date: 12 Feb, 2010 15:38:06 Message: 5 of 13 
"Peter Bone" < 
"Steven Lord" <slord@mathworks.com> wrote in message <hl3rrc$lbt$1@fred.mathworks.com>... 
Dear Steven! 
Subject: Increment shortcuts (++, +=) From: Walter Roberson Date: 12 Feb, 2010 16:42:13 Message: 8 of 13 
Peter Bone wrote: 
Subject: Increment shortcuts (++, +=) From: Steve Amphlett Date: 13 Feb, 2010 07:59:06 Message: 9 of 13 
"Peter Bone" <peterbone@hotmail.com> wrote in message <hl3tdr$377$1@fred.mathworks.com>... 
Subject: Increment shortcuts (++, +=) From: Steve Amphlett Date: 17 Feb, 2010 13:49:04 Message: 10 of 13 
"Steve Amphlett" <Firstname.Lastname@WhereIWork.com> wrote in message <hl5m4a$kjm$1@fred.mathworks.com>... 

"Peter Bone" <peterbone@hotmail.com> wrote in message <hl3cmq$1fo$1@fred.mathworks.com>... 
> As one example of a similar sort as the ones I posted in one of those 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.