不太明白为什么在运行cashbybls和stockspec函数的时候,系统会提示错误,非得将这两个函数转到当前文件夹才能运行?
Undefined function 'cashbybls' for input arguments of type 'struct'.
Error in digital_option_sa (line 35)
Pcon = cashbybls(RateSpec, StockSpec, Settle, Maturity, OptSpec, Strike, Payoff);
是什么原因呢?