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

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 25 Dez. 2013
Bearbeitet: Azzi Abdelmalek am 25 Dez. 2013

0 Stimmen

Remove the if statement relative to nargin or nargout. And remove the header
function output=fcn(input)

Weitere Antworten (0)

Kategorien

Mehr zu Argument Definitions finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by