Can't figure out why it displays undefined function or variable while the variable is defined earlier.
显示 更早的评论
Help,
I'm getting this error Undefined function or variable 'globalStart'. This function is defined earlier in the script.
%%Set testing period parameters
% global start/end date for WFA
globalStart = {'2010/02/01'};
globalEnd = {'2016/9/30'};
% Find unique trading days for all trading days combined
TDay = getTDay(globalStart,globalEnd);
I can't figure out why.
3 个评论
Guillaume
2016-12-14
Surely, this can't be the exact code that you use. What is the actual code?
Jan
2016-12-14
@liu: The problem is concealed in the lines, you do not show us. Currently we see only the lines, which show the intention, but obviously something went wrong anywhere else.
liu James
2016-12-14
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Financial Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!