Static Functions in Real Time workshop
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Simulink Coder en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!