How to write customer struct in TLC file for inline SFunction C++?
I have already rebuilt my C++ code in SFunction, and use "mex xxxxxx.cpp xxxxx.cpp " to run normal.
Next, I want to transform this SFunction to inline SFunction, and meet some problems.
In my code, I use
"typedef struct
{
}PIDController;
"
A customer struct, and work well.
Now, I want to use it in tlc file, how to do it?
Thank you all!!!I have already rebuilt my C++ code in SFunction, and use "mex xxxxxx.cpp xxxxx.cpp " to run normal.
Next, I want to transform this SFunction to inline SFunction, and meet some problems.
In my code, I use
"typedef struct
{
}PIDController;
"
A customer struct, and work well.
Now, I want to use it in tlc file, how to do it?
Thank you all!!! I have already rebuilt my C++ code in SFunction, and use "mex xxxxxx.cpp xxxxx.cpp " to run normal.
Next, I want to transform this SFunction to inline SFunction, and meet some problems.
In my code, I use
"typedef struct
{
}PIDController;
"
A customer struct, and work well.
Now, I want to use it in tlc file, how to do it?
Thank you all!!! sfunction, code generation, tlc MATLAB Answers — New Questions