When I run this code in Matlab, the command window say this: Undefined function 'VAR_OLS' for input arguments of type 'double'. Error in Q2 (line 29) [AR_3d,Chol_Var] = VAR_OLS(Z,pp,1,[]);
1 view (last 30 days)
Show older comments
Yasser Sahebzadeh
on 16 Jul 2016
Commented: Oguzhan Ozcelebi
on 4 Aug 2021
bold
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154915/image.png)
1 Comment
John D'Errico
on 16 Jul 2016
I'm sorry. Do you expect anyone to actually read that image as pasted in? How can you hope for an answer with only that information?
Apparently you do not have a function called VAR_OLS. But MATLAB already told you that.
Accepted Answer
Stalin Samuel
on 16 Jul 2016
Make sure that file "VAR_OLS" is available in your working directory
3 Comments
More Answers (0)
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!