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 ???

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 12월 25일
편집: Azzi Abdelmalek 2013년 12월 25일

0 개 추천

Remove the if statement relative to nargin or nargout. And remove the header
function output=fcn(input)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Argument Definitions에 대해 자세히 알아보기

태그

질문:

2013년 12월 25일

댓글:

2013년 12월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by