You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
INC is a function designed to simplify increments of variables. For example,
"inc my_variable_name"
produces the same result as
"my_variable_name = my_variable_name + 1;"
but takes a lot less time to write out.
"inc variable 5" will increment VARIABLE by 5 (any arbitrary value OK)
INC works on a variable in the local workspace, be it the base workspace or within a function, without producing any output to the command line.
Cite As
Jeffrey Johnson (2026). inc (https://uk.mathworks.com/matlabcentral/fileexchange/4366-inc), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: IncVar
General Information
- Version 1.0.0.0 (431 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
