how to change function to a normal script

조회 수: 6 (최근 30일)
Hasan alomari
Hasan alomari 2013년 12월 25일
댓글: Hasan alomari 2013년 12월 25일
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일
Remove the if statement relative to nargin or nargout. And remove the header
function output=fcn(input)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by