A class for generating the glue code and makefile for interfacing generated code and Simulink.
More...
#include <export_simulink_interface.hpp>
|
returnValue | configure (unsigned N, unsigned NX, unsigned NDX, unsigned NXA, unsigned NU, unsigned NP, unsigned NY, unsigned NYN, bool _initialStateFixed, unsigned _wMatrixType, bool _hardcodedConstraints, bool _useArrivalCost, bool _compCovMatrix, std::string _qpSolver) |
|
returnValue | exportCode () |
|
| ExportSimulinkInterface (const std::string &_makefileName, const std::string &_wrapperHeaderFileName, const std::string &_wrapperSourceFileName, const std::string &_moduleName="acado", const std::string &_modulePrefix="ACADO", const std::string &_commonHeaderName="", const std::string &_realString="double", const std::string &_intString="int", int _precision=16, const std::string &_commentString=std::string()) |
|
virtual | ~ExportSimulinkInterface () |
|
A class for generating the glue code and makefile for interfacing generated code and Simulink.
- Author
- Milan Vukov
Definition at line 47 of file export_simulink_interface.hpp.
BEGIN_NAMESPACE_ACADO ExportSimulinkInterface::ExportSimulinkInterface |
( |
const std::string & |
_makefileName, |
|
|
const std::string & |
_wrapperHeaderFileName, |
|
|
const std::string & |
_wrapperSourceFileName, |
|
|
const std::string & |
_moduleName = "acado" , |
|
|
const std::string & |
_modulePrefix = "ACADO" , |
|
|
const std::string & |
_commonHeaderName = "" , |
|
|
const std::string & |
_realString = "double" , |
|
|
const std::string & |
_intString = "int" , |
|
|
int |
_precision = 16 , |
|
|
const std::string & |
_commentString = std::string() |
|
) |
| |
Default constructor.
@param[in] _moduleName Module name for customization.
- Parameters
-
[in] | _modulePrefix | Module prefix for customization. |
[in] | _commonHeaderName | Name of common header file to be included. |
[in] | _realString | std::string to be used to declare real variables. |
[in] | _intString | std::string to be used to declare integer variables. |
[in] | _precision | Number of digits to be used for exporting real values. |
[in] | _commentString | std::string to be used for exporting comments. |
- Returns
- SUCCESSFUL_RETURN
Definition at line 42 of file export_simulink_interface.cpp.
virtual ExportSimulinkInterface::~ExportSimulinkInterface |
( |
| ) |
|
|
inlinevirtual |
returnValue ExportSimulinkInterface::configure |
( |
unsigned |
N, |
|
|
unsigned |
NX, |
|
|
unsigned |
NDX, |
|
|
unsigned |
NXA, |
|
|
unsigned |
NU, |
|
|
unsigned |
NP, |
|
|
unsigned |
NY, |
|
|
unsigned |
NYN, |
|
|
bool |
_initialStateFixed, |
|
|
unsigned |
_wMatrixType, |
|
|
bool |
_hardcodedConstraints, |
|
|
bool |
_useArrivalCost, |
|
|
bool |
_compCovMatrix, |
|
|
std::string |
_qpSolver |
|
) |
| |
std::string ExportSimulinkInterface::moduleName |
|
private |
std::string ExportSimulinkInterface::modulePrefix |
|
private |
The documentation for this class was generated from the following files: