Hello, I have an issue with the dos function for running an external program; tested in 5.5.2 and 6.1.0 with same result:
--> [s,bOK]=dos('grdinfo crop1.grd') s = [] bOK = T The result of grdinfo is empty and should give the following if typed at the command prompt: D:\Geoscience\Scilab>grdinfo crop1.grd crop1.grd: Title: Grid computed with Mirone crop1.grd: Command: crop1.grd: Remark: File written from Matlab crop1.grd: Gridline node registration used [Geographic grid] crop1.grd: Grid file format: nf = GMT netCDF format (32-bit float), CF-1.7 crop1.grd: x_min: 1.05833333333 x_max: 5.14166666667 x_inc: 0.0166666666667 (1 min) name: longitude n_columns: 246 crop1.grd: y_min: 3.84166666667 y_max: 7.90833333333 y_inc: 0.0166666666667 (1 min) name: latitude n_rows: 245 crop1.grd: z_min: -106.033233643 z_max: 131.578842163 name: z [unknown] crop1.grd: scale_factor: 1 add_offset: 0 crop1.grd: format: netCDF-4 chunk_size: 246,245 shuffle: on deflation_level: 8 However, dos('dir','-echo') works and list the directory! Is there a bug or a missing option to apply? In an earlier version (5.4.1) it worked fine. Thanks Lester -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users