how to solve the error "Not enough input arguments." please tell me how can I solve this problem

2 vues (au cours des 30 derniers jours)
when I run this code it gives an error message as "input arguments are not enough". what can I do?

Réponse acceptée

Stephen23
Stephen23 le 21 Mar 2018
Modifié(e) : Stephen23 le 21 Mar 2018
Do NOT use the big green "Run" button. That button is the worst design decision in the history of MATLAB: ignore that button. You should call your function by typing it in the command window (or in another script/fucntion/...) together with its required input values, and then pressing enter.
It works for me without any error:
>> convert2GPS([1,2,3,4])
ans =
112.2153 63.4349 4.0000

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by