Matlab Project File

バージョン 1.0 (29.1 KB) 作成者: Dmitry Ratner
Save folder structure in a file, select run file, run selected file regardless to editing file.
ダウンロード: 128
更新 2018/2/6

ライセンスの表示

編集メモ: This file was selected as MATLAB Central Pick of the Week

What is it for?
I like to logically separate my files into several folders (f.e. model, gui, etc.), so for each my project I have specific folder structure. Each time I am opening Matlab I have to add all of my folders to the paths. I don't want to make it permanently, because I have several projects with different project structure. So I have my main folder, and foldes under it. This toolbox can store my folder structure in a file, and automatically add my folders to the path using this project file.

To save current filder structure use: MpfCommands('save'); (or shortcut)
To load folder structure from file use: MpfCommands('load'); (or shortcut)

When I am clicking Run on editor tab, matlab tryes to run current editting file,
so when I am debugging my main file (f.e. gui) I shold after anu change of subfunctions switch to my main file. To make it easier for me I need to a way to select running file (like startup project in VS), and command to run it.

To select run file use: MpfCommands('selectstartup'); (or shortcut)
To run selected file use: MpfCommands('run'); (or shortcut)

Installation:

To install shortcuts and quick access buttons use: MpfCommands('install');
To uninstall shortcuts and quick access buttons use: MpfCommands('uninstall');

If it will no work, you can make shortcuts manually.

引用

Dmitry Ratner (2024). Matlab Project File (https://www.mathworks.com/matlabcentral/fileexchange/65974-matlab-project-file), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2017b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersProject File Management についてさらに検索

Community Treasure Hunt

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

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