how to change function to a normal script

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 个)

类别

帮助中心File Exchange 中查找有关 Argument Definitions 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by