how to change function to a normal script

2 Ansichten (letzte 30 Tage)
Hasan alomari
Hasan alomari am 25 Dez. 2013
Kommentiert: Hasan alomari am 25 Dez. 2013
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
Remove the if statement relative to nargin or nargout. And remove the header
function output=fcn(input)

Weitere Antworten (0)

Kategorien

Mehr zu C Shared Library Integration finden Sie in Help 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