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)

1 件のコメント

Hasan alomari
Hasan alomari 2013 年 12 月 25 日
Thank you vary much it work

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Argument Definitions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by