how to change function to a normal script

2 visualizaciones (últimos 30 días)
Hasan alomari
Hasan alomari el 25 de Dic. de 2013
Comentada: Hasan alomari el 25 de Dic. de 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 ???

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by