How to set global options?
Mostrar comentarios más antiguos
Hello.
Im trying to set global options so I can no longer set them in my code, like this:
global options
options = optimset('Display','off');
But when i call:
function
...body...
y = fsolve(......, options)
end
matlab asks me to provide options fisrt. Like he doesnt see it. What do I do wrong? Thank you.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Scope Variables and Generate Names en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!