Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Need help compiling C++ code generated from Simulink

1 Ansicht (letzte 30 Tage)
Peter Marchione
Peter Marchione am 10 Mai 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 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?

Antworten (0)

Diese Frage ist geschlossen.

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by