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 ???

 Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 25 Dic 2013
Modificato: Azzi Abdelmalek il 25 Dic 2013
Remove the if statement relative to nargin or nargout. And remove the header
function output=fcn(input)

Più risposte (0)

Categorie

Scopri di più su Argument Definitions in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by