How to add user inputs in a script?

1 view (last 30 days)
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.


Find more on Shifting and Sorting Matrices 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!

Translated by