Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Need help compiling C++ code generated from Simulink

1 visualizzazione (ultimi 30 giorni)
Peter Marchione
Peter Marchione il 10 Mag 2018
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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?

Risposte (0)

Questa domanda è chiusa.

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by