How to handle two static variable with same name in S function?

Hi,
I have created a s-function which is having a multiple function present in multiple .c file.
e.g In A.c and B.c i am having static variable x in both A.c and B.c. So while compilation of s-function i am getting error that redefination of variable. Please tell how to handle this?.I dont want to change the code.

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

질문:

2013년 8월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by