フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Need help compiling C++ code generated from Simulink

1 回表示 (過去 30 日間)
Peter Marchione
Peter Marchione 2018 年 5 月 10 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Let's start with what I have.
Here's a picture of the model I'm trying to convert into C++: https://i.imgur.com/X1mX0QQ.png
Here's the model I'm trying to convert into C++: https://drive.google.com/file/d/1I26FYjG3eXCn0pXSUOn22HOF6DwiTqLE/view?usp=sharing
Here's the code that was generated when I ran Simulink Coder: https://drive.google.com/file/d/1lOFtm8yo27b8bbiDs5viehANZPsXwTx7/view?usp=sharing
All I want to do is input any value I want into In1 and run the simulation to completion while outputtint Out1 and Out2 to a txt file. Unfortunately, I cannot compile the generated code successfully, nor do I really know how to use the code at all. I'm also having a hard time finding any examples in C++, so I can't really teach myself. Can I get some help please?

回答 (0 件)

この質問は閉じられています。

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by