Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Function calling problem

1 visualización (últimos 30 días)
Andy
Andy el 7 de Sept. de 2011
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
i am trying to call a function from another function. the function i am trying to call is named alignment_ladder_arson. the code i used to call the alignment_ladder_arson function is:
alignment_ladder_arson( directory, answer(1), answer(2))
where directory is a string and answer is 2 by 1 vector.
the following is the first line of the alignment_ladder_arson function:
function [outputdir]= alignment_ladder_arson (inputdatadir, highthresh, lowthresh )
can anyone see what is wrong? because the code doesnt run, the error message says that directory and lowthresh/highthres is undefined, but it is clearly defined in the function that i am calling from. Thanks
  1 comentario
per isakson
per isakson el 7 de Sept. de 2011
The code you describe is correct - as I read your description. However, the code you test with Matlab is not. Please edit your question and the include the code (use Markup), which causes the error - and the error message.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by