inc

Increments variable in local workspace.
739 Descargas
Actualizado 15 ene 2004

Sin licencia

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.

Citar como

Jeffrey Johnson (2025). inc (https://la.mathworks.com/matlabcentral/fileexchange/4366-inc), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R13
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Workspace Variables and MAT Files en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: IncVar

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0