コード例 #1
0
ファイル: Scilab.cs プロジェクト: Giovanni299/.Net
        //=============================================================================
        /// <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
ファイル: Scilab.cs プロジェクト: Giovanni299/.Net
 //=============================================================================
 /// <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 + "');"));
 }