MATLAB Central
  1. Create Account
  2. Log In
  1. File Exchange
  2. Answers
  3. Newsgroup
  4. Link Exchange
  5. Blogs
  6. Trendy
  7. Cody
  8. Contest
  9. MathWorks.com
Download Submission

Code covered by the BSD License  

Highlights from
MATLAB Goto Statement

  • Example14
  • Example15
  • Example3
  • Example5
  • goto(pointer,file)
  • Example1.m
  • Example10.m
  • Example11.m
  • Example12.m
  • Example13.m
  • Example16.m
  • Example17.m
  • Example18.m
  • Example19.m
  • Example2.m
  • Example20.m
  • Example21.m
  • Example22.m
  • Example23.m
  • Example24.m
  • Example4.m
  • Example6.m
  • Example7.m
  • Example8.m
  • Example9.m
  • View all files
image thumbnail
from MATLAB Goto Statement by Husam Aldahiyat
The one and only.

Example8.m
goto(3)
return

for i = 1:4
	
disp(i)

end

Contact us

 
  • © 1994-2013 The MathWorks, Inc.
  • Site Help
  • Patents
  • Trademarks
  • Privacy Policy
  • Preventing Piracy
  • Terms of Use
  • RSS
  • Google+
  • Facebook
  • Twitter
  • Featured MathWorks.com Topics:
  • New Products
  • Support
  • Documentation
  • Training
  • Webinars
  • Newsletters
  • MATLAB Trials
  • Careers