You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 .
General Information
- Version 1.0.0 (1.71 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
