Hi,
Is it possible to generate static functions instead of extern functions when using Real Time workshop? My problem is that when two seperate real time workshop codes are combined together, errors are generated due to the function names being redundant. So I am having to manually rename the functions as static once the code is generated. Is there any method of automatically defining them as static when real time workshop is used to convert the model to C code?
Eg: The functions I have problems with are – rt_GetLookupIndex, rt_Lookup and rt_Lookup2D_Normal. These are generated by Real Time Workshop when converted to C codes and they are defined as extern instead of static, which I need.
Regards, DPac
Best Answer