Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Matlab vs. VBA
Replies: 53   Last Post: Dec 19, 2013 2:13 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Derek Goring

Posts: 3,893
Registered: 12/7/04
Re: Matlab vs. VBA
Posted: Dec 15, 2013 10:46 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Monday, December 16, 2013 1:15:21 PM UTC+13, Yun wrote:
> Just saw your comparison that one of the differences is:
>
>
>
> VBA has a "GoTo" function.
>
>
>
> MATLAB doesn't? I'm trying to get it to skip a part of the code when it is inside a loop. Is this the best option?
>
>
>
> Thanks,


No, it's the worst option.

To avoid goto (which doesn't exist anyway), you just need to think of it the other way around.
Instead of
if x < 0, goto 10
you do
if x >= 0
code that would be skipped if x < 0
end


Date Subject Author
8/28/10
Read Matlab vs. VBA
Tom
8/28/10
Read Re: Matlab vs. VBA
John D'Errico
8/29/10
Read Re: Matlab vs. VBA
Tom
8/29/10
Read Re: Matlab vs. VBA
John D'Errico
8/29/10
Read Re: Matlab vs. VBA
Tom
8/29/10
Read Re: Matlab vs. VBA
Walter Roberson
8/29/10
Read Re: Matlab vs. VBA
Tom
8/29/10
Read Re: Matlab vs. VBA
dpb
8/30/10
Read Re: Matlab vs. VBA
Walter Roberson
8/30/10
Read Re: Matlab vs. VBA
Andy
8/30/10
Read Re: Matlab vs. VBA
Tom
8/30/10
Read Re: Matlab vs. VBA
Steven Lord
8/30/10
Read Re: Matlab vs. VBA
Tom
8/31/10
Read Re: Matlab vs. VBA
Steven Lord
8/31/10
Read Re: Matlab vs. VBA
Tom
8/31/10
Read Re: Matlab vs. VBA
Andy
9/1/10
Read Re: Matlab vs. VBA
Tom
9/2/10
Read Re: Matlab vs. VBA
grubin698
9/3/10
Read Re: Matlab vs. VBA
Tom
9/3/10
Read Re: Matlab vs. VBA
grubin698
9/3/10
Read Re: Matlab vs. VBA
Tom
9/3/10
Read Re: Matlab vs. VBA
Walter Roberson
9/3/10
Read Re: Matlab vs. VBA
Tom
9/6/10
Read Re: Matlab vs. VBA
Walter Roberson
9/7/10
Read Re: Matlab vs. VBA
Tom
9/2/10
Read Re: Matlab vs. VBA
Walter Roberson
9/3/10
Read Re: Matlab vs. VBA
Tom
9/3/10
Read Re: Matlab vs. VBA
Steven Lord
9/3/10
Read Re: Matlab vs. VBA
Tom
9/3/10
Read Re: Matlab vs. VBA
Mark Shore
9/3/10
Read Re: Matlab vs. VBA
Tom
9/3/10
Read Re: Matlab vs. VBA
Mark Shore
9/4/10
Read Re: Matlab vs. VBA
Tom
12/15/13
Read Re: Matlab vs. VBA
Yun
12/15/13
Read Re: Matlab vs. VBA
Derek Goring
12/19/13
Read Re: Matlab vs. VBA
Marc
12/19/13
Read Re: Matlab vs. VBA
Derek Goring
8/28/10
Read Re: Matlab vs. VBA
Steven Lord
8/28/10
Read Re: Matlab vs. VBA
dpb
8/29/10
Read Re: Matlab vs. VBA
Tom
8/29/10
Read Re: Matlab vs. VBA
Rune Allnor
8/30/10
Read Re: Matlab vs. VBA
dpb
8/30/10
Read Re: Matlab vs. VBA
Rune Allnor
8/30/10
Read Re: Matlab vs. VBA
Derek Goring
8/30/10
Read Re: Matlab vs. VBA
Rune Allnor
8/30/10
Read Re: Matlab vs. VBA
dpb
8/30/10
Read Re: Matlab vs. VBA
Rune Allnor
8/30/10
Read Re: Matlab vs. VBA
Walter Roberson
8/30/10
Read Re: Matlab vs. VBA
Rune Allnor
8/31/10
Read Re: Matlab vs. VBA
dbd
8/31/10
Read Re: Matlab vs. VBA
Rune Allnor
9/2/10
Read Re: Matlab vs. VBA
Cris Luengo
9/3/10
Read Re: Matlab vs. VBA
Ömer KAYA
9/4/10
Read Re: Matlab vs. VBA
Tom

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.