how to change function to a normal script

2 visualizzazioni (ultimi 30 giorni)
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 C Shared Library Integration in Help Center 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