필터 지우기
필터 지우기

S Function error: source file is included more than once

조회 수: 3 (최근 30일)
Valmir Sadiku
Valmir Sadiku 2015년 11월 27일
Hello Everyone,
I have build two S-Functions and each of them includes an external file (Custom.c, Custom.h). If I build code for an target hardware with including one of this S-Functions, then everything works just fine. But if both S-Functions are included, then it throws errors which say something like "multiple definition of functions inside Custom.c". I think there should be some technique to handle such situations? Thank you in advance! Best regards, GoldenEyes

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by