Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Need help compiling C++ code generated from Simulink

1 visualización (últimos 30 días)
Peter Marchione
Peter Marchione el 10 de Mayo de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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?

Respuestas (0)

La pregunta está cerrada.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by