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

2 visualizaciones (últimos 30 días)
when I run this code it gives an error message as "input arguments are not enough". what can I do?

Respuesta aceptada

Stephen23
Stephen23 el 21 de Mzo. de 2018
Editada: Stephen23 el 21 de Mzo. de 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

Más respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by