how to change function to a normal script

4 ビュー (過去 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)
  1 件のコメント
Hasan alomari
Hasan alomari 2013 年 12 月 25 日
Thank you vary much it work

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by