How to create a time series from C++ using the MEX files?
古いコメントを表示
So I am trying to write a MAT-file from a CPP standalone application because it seems the easiest to method to execute a standalone Simulink model, which then will output to another MAT-file to then be read back into the C++ standalone application. I managed to create my struct and all it's variables which are written to a MAT-file, but I have to make them be a time-series for the Simulink model to execute.
I can't find anywheres describing how to create a time-series double (for example) from C++ code, so any help is appreciated. If anyone knows if there is also a better method for executing a Simulink model from a C++ application rather than a from-file input, feel free to weigh in as well.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink Coder についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!