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 (2026). 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 LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
