How to add user inputs in a script?

5 次查看(过去 30 天)
Hdez
Hdez 2021-2-1
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?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by