User defined function for three scripts
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Stephan
2018-10-22
Hi,
read about input and case/switch/otherwise. Then save your three different functions with the corresponding name in your Matlab Path and call them in dependence of the user choice (by input) with the arguments given by the user. - Thats it.
Best regards
Stephan
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!