deal2 - Multiple assignment
The function deal2 is designated for multiple assignment. It is an extension of the function deal. The main differences between both functions are:
- deal2 need not have equal number of input and output arguments,
- deal2 makes all output arguments empty for missing input arguments,
- deal2 transfers at most nargout arguments from input arguments,
- deal2 may split input arguments into elements and tranfer them to output arguments.
- deal2 may decompose matrices into columns and store them in output arguments
All superfluous output arguments are made empty, and all superfluous input arguments are not transfered.
Cita come
Miroslav Balda (2025). deal2 - Multiple assignment (https://www.mathworks.com/matlabcentral/fileexchange/32547-deal2-multiple-assignment), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.