how to change function to a normal script

2 views (last 30 days)
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 ???

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 25 Dec 2013
Edited: Azzi Abdelmalek on 25 Dec 2013
Remove the if statement relative to nargin or nargout. And remove the header
function output=fcn(input)

More Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!