So what I want to do is basically something like this:
Stokes = 'enabled'
Wind = 'enabled'
Flow = 'disabled'
I want matlab just to know "ok, I should compute Stokes and Wind via their functions, but not the flow". I could do this with a wild variation of if statements, but this would be probably ugly. Is there any way to get it working the way I want ? The problem is that I have to call the functions quite often (probably over 10k times), so I do not want matlab to check in every step if a particular function should get called or not.
2 Comments
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/320132-how-do-i-let-matlab-know-which-functions-to-call#comment_422531
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/320132-how-do-i-let-matlab-know-which-functions-to-call#comment_422531
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/320132-how-do-i-let-matlab-know-which-functions-to-call#comment_422533
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/320132-how-do-i-let-matlab-know-which-functions-to-call#comment_422533
Sign in to comment.