Too many input arguments

Hi,
My friend wrote a portfolio optimization application and he could run it smoothly without error. However, when I run his code, "Too many input argument" is popped out when I tried to compute the efficient frontier. I'm sure we are running the exact same code and import same source of data. Any suggestion of the cause? His Matlab should be 2012, mine is 2016, does this matter?
Thanks!

3 commentaires

KSSV
KSSV le 27 Mar 2017
Check the line which shows error.. you are sending more number of inputs then required.
Adam
Adam le 27 Mar 2017
Show us the code, or do we have to guess what the function looks like, how you are calling it and everything else relevant to solving the problem?!
Alan Weiss
Alan Weiss le 27 Mar 2017
Without seeing the exact error message and the call that gives the error, there is not enough information for us to make a diagnosis.
Alan Weiss
MATLAB mathematical toolbox documentation

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Portfolio Optimization and Asset Allocation dans Centre d'aide et File Exchange

Commenté :

le 27 Mar 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by