フィルターのクリア

How to pass arguments to a java method?

1 回表示 (過去 30 日間)
bbb_bbb
bbb_bbb 2019 年 1 月 2 日
編集済み: bbb_bbb 2019 年 1 月 3 日
I'm trying to implement code from
I am interested in how to pass arguments to this function:
fileUtils.moveToTrash( new File[] {new File("c:/temp/dummy.txt") });
i.e. if my MATLAB code would be:
fileobj=java.io.File('c:\temp\dummy.txt');
fileUtils = com.sun.jna.platform.FileUtils.getInstance();
fileUtils.moveToTrash(... Some arguments ...);
what arguments should be in the last statement?

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Java from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by