Comments on: In Libraries, Code or Model Reusability? That is the Question. https://blogs.mathworks.com/simulink/2016/07/19/in-libraries-code-or-model-reusability-that-is-the-question/?s_tid=feedtopost Guy Rouleau is an Application Engineer for MathWorks. He writes here about Simulink and other MathWorks tools used in Model-Based Design. Tue, 02 Jul 2019 18:35:03 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: Guy Rouleau https://blogs.mathworks.com/simulink/2016/07/19/in-libraries-code-or-model-reusability-that-is-the-question/#comment-256306 Tue, 02 Jul 2019 18:35:03 +0000 https://blogs.mathworks.com/simulink/?p=5792#comment-256306 @Mukesh: I recommend contacting technical support, we would like to understand why they cannot reuse the same code.

https://www.mathworks.com/support/contact_us.html

]]>
By: Mukesh Agarwal https://blogs.mathworks.com/simulink/2016/07/19/in-libraries-code-or-model-reusability-that-is-the-question/#comment-255882 Tue, 25 Jun 2019 17:57:20 +0000 https://blogs.mathworks.com/simulink/?p=5792#comment-255882 Hi Guy,
I tried to do checksum comparison for my reusable library subsystem used in two different models and checksum are same but still two code file is generated in shared location. I am using autosar.tlc to generate code. How can i investigate further to find reason for multiple code file

Thanks
Mukesh

]]>
By: Zili Zhang https://blogs.mathworks.com/simulink/2016/07/19/in-libraries-code-or-model-reusability-that-is-the-question/#comment-211764 Fri, 27 Oct 2017 22:07:58 +0000 https://blogs.mathworks.com/simulink/?p=5792#comment-211764 Hello Guy,
Only one version of function (rt_modd) generated for the built-in lib block “mod”, whether input is vector input or scalar input. In code, it splits the vector input and calls the function once for each dimension. Can Simulink generate code for user lib blocks the way it does for “mod” block?

]]>