Detach clear variable while passing to a function in matlab

The following Matlab project contains the source code and Matlab examples used for detach clear variable while passing to a function. In matlab, when a variable passed into a function is modified within the function, a copy of the variable is created on the fly, unless the variable is completely a temporary variable or unless the same variable is retrieved as an output argument.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
detach.m 1239
license.txt 1314