示例#1
0
        //=============================================================================
        /// <summary>
        /// Destructor
        /// </summary>


        //=============================================================================
        /// <summary>
        /// Send a job to scilab
        /// </summary>
        /// <param name="command">command to send to scilab</param>
        /// <returns>error code operation, 0 : OK</returns>
        public int SendScilabJob(string command)
        {
            return(Scilab_cs_wrapper.SendScilabJob(command));
        }
示例#2
0
 //=============================================================================
 /// <summary>
 /// Execute a scilab script .sce
 /// </summary>
 /// <param name="scriptFilename">the path to the .sce file</param>
 /// <returns>error code operation, 0 : OK</returns>
 public int execScilabScript(String scriptFilename)
 {
     return(Scilab_cs_wrapper.SendScilabJob("exec('" + scriptFilename + "');"));
 }