Dear Madam or Sir,<div><br></div><div>I am writing you in order to ask for some assistance regarding working with Scilab.<br><div><br><div>I have a problem with calling Scilab program in Command Prompt. I am using Scilab 5.2.0 under Windows Vista Home Premium environment.<br>
<div><br></div><div>I have two scripts in Scilab - <b>eigen.sce</b> and <b>testahp.sce</b>. <b>Eigen.sce</b>, first of them, reads data from xls file, does calculations and puts results in csv file and <b>testahp.sce</b>, the second one, calls it with specified values that represent input parameters for <b>eigen.sce</b> (relative weight and paths to xls and csv files). <b>Testahp.sce</b> does not have input or output parameters.</div>
<div><br></div><div>I have to call <b>testahp.sce</b> from Command Prompt by using a batch file, but when Scilab starts up I am asked to enter command in Scilab prompt, in this case - <b>testahp()</b> and in that way everything is fine. However, I need it to be executed automatically and I really cannot solve that problem. When I am calling program in command line with: <b>scilex -nwni -f testahp.sce</b> it does not exactly execute function, it seems that it only compile function. I am not sure that I am using correct syntax for doing that.</div>
<div><br></div><div>Would you be so kind as to give me some instructions how to override this situation. </div><div><br></div><div>I would appreciate any suggestion. Thank you in advance.</div><div><br></div><div>Yours faithfully ,</div>
<div>Jovana Raskov</div></div></div></div>