Not enough input arguments.
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, i am having issue to run a VAR model were the following error is flagged:
>> VARmodel
Not enough input arguments.
Error in VARmodel (line 33)
[nobs, nvar] = size(ENDO);
Should I have to quote nobs and nvar?
5 commentaires
Stephen23
le 24 Jan 2021
Modifié(e) : Stephen23
le 24 Jan 2021
Do NOT use eval for trivial field access. Instead of this ugly, slow, inefficient, complex code:
eval( ['VAR.' aux '.beta = OLSout.beta;'] );
use this simpler, neater, more efficient, and much easier to debug code:
VAR.(aux).beta = OLSout.beta;
Réponses (0)
Voir également
Catégories
En savoir plus sur Operators and Elementary Operations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!