[Scilab-users] Command lauch using a string

paul.carrico at free.fr paul.carrico at free.fr
Thu May 14 22:51:18 CEST 2015


Dear All,

I've been thinking in creating a string in order to run specific instructions afterward (I'm under Windows OS for the moement); 

An example of my code:
#########################################################################
A = 'PATH_IMAGEMAGICK + ''\convert -delay 50 ';
for i = 1 : number
    A = A + '-repage 1218x722+0+0 sample_geometry" + string(i) + ".gif ';
end
A = A + '-loop 0 superposition_anime.gif'',''-echo''';
dos(A)
#########################################################################

It fails while if I replace the string A by the complete sentence, it works fine showing that's probably a format issue ... but honnestly I don't find the right one

Any suggestion will be appreciated

Thanks

Paul



More information about the users mailing list