matopen function in rapid accelerator in simulink

조회 수: 6 (최근 30일)
Tom
Tom 2015년 9월 3일
댓글: Hamid 2025년 2월 6일 13:09
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
Hamid
Hamid 2025년 2월 6일 13:09
Hello did you find any solution for this?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by