javarmpath
動的 Java クラス パスからのエントリの削除
説明
javarmpath(
は、現在の動的クラス パスから 1 つ以上のファイルまたはフォルダーを削除します。dpath1,...,dpathN
)
例
動的パスからのフォルダーの削除
最初にフォルダーをパスに追加し、次にこれらのフォルダーのいずれかを削除して、システムの動的パスの状態を保持します。
MATLAB® サンプル フォルダーを指し示す変数を作成します。パスは、MATLAB インストールのフォルダーを反映します。
expath = fullfile(matlabroot,'extern','examples')
expath = C:\Program Files\MATLAB\R2012b\extern\examples
2 つのフォルダーをパスに追加します。出力は、既存のパスのこれらの新しいフォルダーを表示します。
javaclasspath({... expath,... 'http://www.example.com'}) javaclasspath('-dynamic')
DYNAMIC JAVA PATH C:\Program Files\MATLAB\R2012b\extern\examples http://www.example.com
フォルダーを 1 つ削除します。パスに extern\examples
フォルダーが含まれなくなります。
javarmpath(expath)
javaclasspath('-dynamic')
DYNAMIC JAVA PATH http://www.example.com
入力引数
dpath1,...,dpathN
— フォルダーまたは JAR ファイル
string | 文字ベクトル
パスから削除するフォルダーまたは JAR ファイル。string または文字ベクトルとして指定します。
データ型: char
ヒント
javarmpath
は動的クラス パス上のファイルによって定義されるすべての Java® クラスの定義をクリアします。
バージョン履歴
R2006a より前に導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)