How do I ask with specific sentences that the user insert certain inputs?
Show older comments
I have a function called EI2 and these input values:
- VmGlu
- VmChl
- G_max_chl
- G_max_glu
- EChl
- EGlu
- tau_rise
- tau_decay
- tmax
I want the user to be able to call the function by typing EI2 only, and then a first sentence should appear: "What value do you want to insert as VmGlu? ". The user will type a number and then on to the second question.
How could I implement such a thing in an elegant way?
Thanks!
1 Comment
Stephen23
on 4 Feb 2021
"How could I implement such a thing in an elegant way?"
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!