Info

This question is closed. Reopen it to edit or answer.

Call a function related to a parameter

1 view (last 30 days)
juan
juan on 4 Mar 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Good morning!
I could use some help here. Let me see if I can explain myself. I have some some functions whih are called calcra_v1, calcra_v2, calcra_v3 and so on. What I would like to do, I don't know if its possible, is to open the function I want regarding a value, k for example. If k == 1, open calcra_v1, if k == 2, open calcra_v2, etc. I know it is not like this, but I could look like it: calcra_v(k). Thanks in advance! Juan

Answers (0)

Community Treasure Hunt

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

Start Hunting!