Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

load 指令問題請教

33 views
Skip to first unread message

Albert Liu

unread,
Jun 5, 2013, 3:04:00 AM6/5/13
to ade-s...@googlegroups.com

Dear 版主,

 

可能是我遺漏某些細節但是我目前仍然無法查出問題.

我已確認過, 在 vandermonde.sci file中, 有進行相關的function宣告

function [v] = vandermonde(x)

附件為我所簡化的程式模型

以便顯示問題

 

 

以下為執行過程紀錄:

 

-->genlib( 'TB01' , 'D:\Toolbox\TB1', %t)

ans  =

  T

  

-->load('D:\Toolbox\TB1\lib')

 

執行結果

 

  xx  =

    0.    1.    2.    3. 

    V = vandermonde(xx)  //Get Vandermonde matrix for xx()

                        !--error 4

未定義變數 : vandermonde

 

at line      23 of exec file called by :   

exec('D:\ScilabUser\libTest\Main.sce', -1)

 

以上問題請教


謝謝

 

Best Regards,

 

Albert Liu

 6/5/2013

TB1.7z
Main.sce

Albert Liu

unread,
Jun 5, 2013, 6:44:19 AM6/5/13
to ade-s...@googlegroups.com
Dear 版主,

我已初步解決問題
主要是遺漏
cd(...)

以上,
感謝板主指導

Albert


Reply all
Reply to author
Forward
0 new messages