image thumbnail

goto

version 1.0.0 (1.71 KB) by Giovanni D'Avanzo
This is an emulation of goto function.

10 Downloads

Updated 10 Apr 2020

View License

GOTO - Emulator
This function emulates goto.
Syntax: goto(label_name)

Inputs:
label_name - is a name of label insert in file with comment like
@gotol=label_name

Example:
% @goto=start
goto('init')
% @gotol=first_label
%code
% @gotol=second_label
%code
% @goto=finish
goto('close')

Author: Giovanni D'Avanzo
email: giovanni.davanzo@unicampania.it

Cite As

Giovanni D'Avanzo (2021). goto (https://www.mathworks.com/matlabcentral/fileexchange/74950-goto), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!