Generation of a unique library code declaration using Embedded coder
Hello team,
I have a library that is used inside multiple models. I am using Embedded coder to generate the code for these models.
Presently, the code generation for each of these models creates a separate instance of the library and its inside functions. However, to compile the complete software package, the library and its functions should have only one instance. We want only one definition/declaration for the library and its functions without using any additional prefix/suffix.
To avoid multiple function definition/declaration errors and achieve successful compilation, would you please provide a solution to generate a unique library code?Hello team,
I have a library that is used inside multiple models. I am using Embedded coder to generate the code for these models.
Presently, the code generation for each of these models creates a separate instance of the library and its inside functions. However, to compile the complete software package, the library and its functions should have only one instance. We want only one definition/declaration for the library and its functions without using any additional prefix/suffix.
To avoid multiple function definition/declaration errors and achieve successful compilation, would you please provide a solution to generate a unique library code? Hello team,
I have a library that is used inside multiple models. I am using Embedded coder to generate the code for these models.
Presently, the code generation for each of these models creates a separate instance of the library and its inside functions. However, to compile the complete software package, the library and its functions should have only one instance. We want only one definition/declaration for the library and its functions without using any additional prefix/suffix.
To avoid multiple function definition/declaration errors and achieve successful compilation, would you please provide a solution to generate a unique library code? embedded coder, simulink, masked library MATLAB Answers — New Questions