how to change function to a normal script

1 次查看(过去 30 天)
i have function i want to change it to a script ..... but it have something could nargin which it in if statesman ...what should i do ???

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2013-12-25
编辑:Azzi Abdelmalek 2013-12-25
Remove the if statement relative to nargin or nargout. And remove the header
function output=fcn(input)

更多回答(0 个)

类别

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