how to change function to a normal script
2 views (last 30 days)
Show older comments
Hasan alomari
on 25 Dec 2013
Commented: Hasan alomari
on 25 Dec 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 ???
0 Comments
Accepted Answer
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)
See Also
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!