How to add user inputs in a script?

4 views (last 30 days)
Hdez
Hdez on 1 Feb 2021
Answered: Geoff Hayes on 1 Feb 2021
Hello everyone, I have to add a few inputs on a MATLAB code to convert it into a scrip to which I get the following window:
Where exactly do I have to write my inputs?

Answers (1)

Geoff Hayes
Geoff Hayes on 1 Feb 2021
Hdez - I think you want to convert your script into a function. See the link for details.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!