MATLAB 2016b Error using mex 'USE_DEFAULT_OPERATING_POINT' undeclared
이전 댓글 표시
I´m using MATLAB 2016b and want to use a S-Function. But when using
mex myReglerSFcn.c
this happens
>> mex myReglerSFcn.c
Building with 'MinGW64 Compiler (C)'.
Error using mex
D:\...\myReglerSFcn.c: In function 'mdlInitializeSizes':
D:\...\myReglerSFcn.c:100:38: error: 'USE_DEFAULT_OPERATING_POINT' undeclared (first use in
this function)
ssSetOperatingPointCompliance(S, USE_DEFAULT_OPERATING_POINT);
^
D:\...\myReglerSFcn.c:100:38: note: each undeclared identifier is reported only once for each
function it appears in
I used
#include "simstruc.h"
in
myReglerSFcn.c
the MinGW Compiler is installed an when used with MATLAB 2019a it all works well.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Support for MinGW-w64 C/C++ Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!