how to switch on a function for a specific condition is met

 Respuesta aceptada

function_is_on = false;
...
while true
...
if function_is_on; call_function(); end
...
if condition_is_met; function_is_on = true; end
...
end

Más respuestas (0)

Categorías

Más información sobre Desktop en Centro de ayuda y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 20 de Mzo. de 2017

Respondida:

el 20 de Mzo. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by