matopen function in rapid accelerator in simulink

Hi,
I wish to use the functions of matopen and matGetVariable in the rapid accelerator mode of simulink. When I try this, I get an error because I need to include the mat.h file. This creates errors because of duplicate definitions of mxarray (mat.h includes matrix.h). I want to use this because I want to open mat in the mdlInitParameters function. I store all my parameters in a file because this way I can compare the models in an easy way and create them in an easy way (always using same file name,...).
Tom Wambecq

回答(1 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息

提问:

Tom
2015-9-3

编辑:

2025-5-6

Community Treasure Hunt

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

Start Hunting!

Translated by