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.
引用格式
Miroslav Balda (2024). deal2 - Multiple assignment (https://www.mathworks.com/matlabcentral/fileexchange/32547-deal2-multiple-assignment), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!