As mezinau matlabo, bet ar sioje vietoje addParams gaunasi massyvas? >>> addParams = java.lang.String('-lossless on -Wlev 3'); Bent jau logiskai man neatrodo kad sios operacijos rezultatas yra maasyvas. O Javoje jei reikia massyvo, tai kitu niekuom nepakeisi... ejs wrote: >> param = jj2000.j2k.encoder.Encoder.getAllParameters(); >> pl = javaObject('jj2000.j2k.util.ParameterList'); >> addParams = java.lang.String('-lossless on -Wlev 3'); >> %pl=javaMethod('parseArgs','jj2000.j2k.util.ParameterList',addParams); >> pl.parseArgs(addParams) >> >> ??? Error using ==> javaMethod >> No static parseArgs method with appropriate signature >> exists in Java class jj2000.j2k.util.ParameterList > > beje, Javoj ši vieta atrodo taip: > ... > String[] addParams = {"-lossless","on", "-Wlev", "5"}; > ParameterList pl = new ParameterList(); > MsgLogger ml = FacilityManager.getMsgLogger(); > > printParams(ml, getAllParameters(), pl); > > pl.parseArgs(addParams); > > printParams(ml, getAllParameters(), pl); > > Dirba, '-lossless' ir '-Wlev' pakeisti.