RPCODE

Generates P-files for all M-files recursively in all subfolders
1.9K Downloads
Updated 4 Apr 2016

View License

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
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: SUBDIR *new*

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Formatting of description
BSD License