RPCODE
RPCODE Generates P-files for all M-files recursively in all subfolder
RPCODE: without any arguments generates P-files for all the M-files in current directory and in its subdirectories recursively.
RPCODE(path): generates P-files for all the M-files in directory 'path' and in its subdirectories recursively.
RPCODE(path,flag): if the flag -INPLACE is used, the result is placed in the same directory in which the corresponding M-file was found. Otherwise, the result is placed in the current directory.
INPUT:
path - name of the directory
flag - flag for if the result is placed in the same directory '-inplace') or current directory
EXAMPLES:
CurrPath = pwd;
rpcode(CurrPath,'-inplace');
Cite As
Durga Lal Shrestha (2024). RPCODE (https://www.mathworks.com/matlabcentral/fileexchange/19332-rpcode), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Programming > Files and Folders > File Operations >
- MATLAB > Software Development Tools > Toolbox Distribution > Adding custom doc >
Tags
Acknowledgements
Inspired by: SUBDIR *new*
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Formatting of description
|