Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.292.558 Times

MATLAB Goto Statement 1.0

  Date Added: May 23, 2013  |  Visits: 192

MATLAB Goto Statement

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)

It goes without saying that this code is mainly just for entertainment purposes, since using goto() is considered lazy programming and is a debugging nightmare. With that out of the way, I present to you goto.m, similar to the goto() or jump() commands in other programming disciplines.Syntax:goto(pointer,file)return % All goto() commands need to be followed by a 'return'!pointer could be an integer representing a line number in the m file, a string addressing a label in the m file, an array consisting of line numbers to consecutively jump to, or a cell array consisting of label strings to jump to. Using inf as an input jumps to the end of the code, while using NaN jumps to a randomly chosen line number (credit to Loren for the not-so-deliberate inspiration).The second input, file, is optional. It states the code file to which the we want to jump to (default is current m file).Twenty four example files are accompanied in the zip folder. Check the usage of this function inside them in order to understand how to implement goto() in your own routines. An example is shown below.Example 23: labels = {'add';'init1';'add';'add';'show'}; goto(labels) return % LABEL init1 a = 0; goto('End') return % LABEL add a = a + 1; goto('End') return % LABEL init2 a = 0; goto('End') return % LABEL show msgbox(num2str(a)) % LABEL End

Requirements: No special requirements
Platforms: Matlab
Keyword: Accompanied Current Default Files Folder Optional States Twenty
Users rating: 0/10

License: Shareware Size: 10 KB
MATLAB GOTO STATEMENT RELATED
Desktop Utilities  -  Menu|Program|Files|Folder 1.0
I was always needing more startup|Menu|Program Files|venues. Unzip this self exe. In any folder you choose, To setup "double click" to place a Folder into Start|Menu|Program Files. It makes a open file that you can drag and rename it. Once you...
10 KB  
Modules  -  HTML Export 6.x- / 5.x- 1.0
The current version will grab all style sheets, nodes, images, javascript, and anything uploaded to your files folder and package it up in the files directory.The nodes (all converted to html format) will be given a name of the form page{nid}.html...
 
Modules  -  HTML Export 6.x- / 5.x- 1.0
The current version will grab all style sheets, nodes, images, javascript, and anything uploaded to your files folder and package it up in the files directory.The nodes (all converted to html format) will be given a name of the form page{nid}.html...
 
Modules  -  pclzip_zipfolder 6.x-1.0-beta3
PclZip_zipfolder allows you to create a zip archive from a folder located in your files folder.This module needs the pclzip module.
10 KB  
Compression Tools  -  RarZilla Free Unrar 2.90
RarZilla Free Unrar is a powerful free tool to quickly decompress RAR-archives. It supports spanned archives. Decompression can be started by drag 'n' drop, double click or shell integrated context menu. To speed the whole process up, RarZilla...
3.26 MB  
Security Tools  -  Gili File Lock 3.2.1
Gili File Lock is designed for protecting your sensitive files,folder and drives on your local computer.In factly, it protects but does not encrypt the protected files and folders, so it will never have the chance to destroy your data and nobody...
1.84 MB  
Utilities  -  Secure Wipe Delete 2.9.9.2
Erase your files, folder and whole disks in an quick and efficient way. Includes the US DoD 5220.22-M, Bruce Schneier's Algorithm, Gutmann-Method and the BSI VISTR Standard to wipe files and data permanently from your drives. This program is easy...
2.14 MB  
File Management  -  Relative filepath 1.2
This script returns a relative path to the target from either the current directory or an optional base directory. Base can be a directory specified either as absolute or relative to current directory.
 
Backup Utilities  -  SHBackup 3.0
Program to make automatic backup copies of your important files, folder and file-extencions. Compress data in Zip format. Shutdown after job. Perfect restore. Multiple spanning.
1.52 MB  
Utilities  -  AOClean 6.0
AOClean will let you erase your web browser's cache, history and cookies,clean up junk files of system,clean Windows temp files folder... ..., You will need only 1 step to do all the works! AOClean will try to find and delete such files and...
1.35 MB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB