how to change function to a normal script

2 vues (au cours des 30 derniers jours)
Hasan alomari
Hasan alomari le 25 Déc 2013
Commenté : Hasan alomari le 25 Déc 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 ???

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 25 Déc 2013
Modifié(e) : Azzi Abdelmalek le 25 Déc 2013
Remove the if statement relative to nargin or nargout. And remove the header
function output=fcn(input)
  1 commentaire
Hasan alomari
Hasan alomari le 25 Déc 2013
Thank you vary much it work

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by