My code runs well on Windows but gets errors on Mac
Afficher commentaires plus anciens
Hi, my code works well on Windows, but when I run it on Mac it gets errors. For example:
invSig2 = gamrnd(newnu2, 1./newS2):: Input arguments must have the same size!
I thought the problem could be 1./newS2 does not work on Mac, then I replaced
invSig2 = gamrnd(newnu2, rdivide(1,newS2))
but the problem was not solved. Do you have any idea about common errors between Mac and Windows. Thanks you very much.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Econometrics Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!