FSplit

バージョン 1.1.0.0 (3.2 KB) 作成者: Stead Kiger
FSPLIT splits a multifunction m-file into many single function m-files
ダウンロード: 1.6K
更新 2009/7/22

ライセンスの表示

FSPLIT splits a multifunction m-file into many single function m-files.

FSPLIT(SOURCEFILE) reads the multifunction m-file SOURCEFILE and writes a new m-file for each function in SOURCEFILE into the current directory, splitting the SOURCEFILE by functions. If no path is specified for the source file, it is read from the current directory or from the Matlab path, in that order.

FSPLIT(SOURCEFILE, TARGETDIR) writes the individual functions in SOURCEFILE into the directory TARGETDIR.


Example:

>> FSplit('ver.m','.\test')
FSplit reading file C:\MATLAB\toolbox\matlab\general\ver.m

Writing function ver.m ... finished
Writing function fixarg.m ... finished
Writing function LocParseContentsFile.m ... finished
Writing function LocDisplayMatlabInformation.m ... finished
Writing function sort_toolbox_list.m ... finished
Writing function display_toolbox_list.m ... finished
Writing function remove_unwanted_entries.m ... finished
Writing function disp_single_toolbox.m ... finished
Writing function LocCleanDate.m ... finished

FSplit finished.

引用

Stead Kiger (2024). FSplit (https://www.mathworks.com/matlabcentral/fileexchange/13467-fsplit), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R14SP2
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersAudio and Video Data についてさらに検索
謝辞

ヒントを得たファイル: SplitFunctions

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

Under threat of file removal, changed license from GPL to BSD.

1.0.0.0