Borrar filtros
Borrar filtros

How to pass arguments to a java method?

1 visualización (últimos 30 días)
bbb_bbb
bbb_bbb el 2 de En. de 2019
Editada: bbb_bbb el 3 de En. de 2019
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?

Respuestas (0)

Categorías

Más información sobre Call Java from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by