フィルターのクリア

Generating C Code from MATLAB Code

2 ビュー (過去 30 日間)
Nour Sd
Nour Sd 2017 年 9 月 30 日
コメント済み: Rena Berman 2017 年 10 月 30 日
hello, i'm new in Matlab ;
I'm trying to use Matlab coder to generate my c code, I have some mistakes, I tried many times to fix it, but I can't find a solution, please help me to fix .thanks
  1 件のコメント
Rena Berman
Rena Berman 2017 年 10 月 30 日
(Answers Dev) Restored edit

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

採用された回答

Marco
Marco 2017 年 9 月 30 日
編集済み: Walter Roberson 2017 年 9 月 30 日
Hello Nour,
BR Marco

その他の回答 (3 件)

Marco
Marco 2017 年 10 月 1 日
Hello Nour, It is necessary to inizialize the variables. For example, I see that S is a matrix and you can initialize it as a matrix of all zeros elements: S = zeros(rows,columns).
In the same way you can do for the other variables.
BR Marco

Marco
Marco 2017 年 10 月 1 日
編集済み: Walter Roberson 2017 年 10 月 1 日

Marco
Marco 2017 年 10 月 2 日
Hello, I think that this error is due to the fact that in the main file (the file where you call your function) you don't pass the three inpu values that the function expects.

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by