# Issue with Parameter Inlining in plecs version 4.8.6, the feature is not working

**URL:** <https://forum.plexim.com/t/issue-with-parameter-inlining-in-plecs-version-4-8-6-the-feature-is-not-working/1402>\
**Category:** TI C2000\
**Tags:** parameter, scope, inlining, code-generation, tic2000\
**Created:** [October 4, 2024, 3:59pm UTC](https://forum.plexim.com/t/issue-with-parameter-inlining-in-plecs-version-4-8-6-the-feature-is-not-working/1402 "2024-10-04T15:59:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sayeedmohmds](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sayeedmohmds](https://forum.plexim.com/u/sayeedmohmds)\
**Post date:** [October 4, 2024, 3:59pm UTC](https://forum.plexim.com/t/issue-with-parameter-inlining-in-plecs-version-4-8-6-the-feature-is-not-working/1402/1 "2024-10-04T15:59:39Z")

</div>

After I update PLECS to v4.8.6, and TIC2000 library, I tried to generate a simple code on launchpad TI28379D,to generate a duty cycle with an inlining parameter block in the code. This file was working properly in the previous version of PLECS. After I updated plecs, the output is fixed to high when I add an inline parameter, but I remove the inline parameter, the pwm generated appears normally on the oscilloscope.  
I tried an older version of plecs and the file works normally and the launchpad generated the signal.  
could you please help me with this issue ?

Kindly check the attached file

[DSPV3.plecs](https://forum.plexim.com/uploads/short-url/vJ377TjTUPNx8EntTZGyWIA1Lx9.plecs) (30.7 KB)

---

<div class="post-metadata">

**Author:** ![Bryan\_Lieblick](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/bryan_lieblick/32/10_2.png) [@Bryan\_Lieblick](https://forum.plexim.com/u/Bryan_Lieblick)\
**Post date:** [October 9, 2024, 12:12pm UTC](https://forum.plexim.com/t/issue-with-parameter-inlining-in-plecs-version-4-8-6-the-feature-is-not-working/1402/2 "2024-10-09T12:12:39Z")

</div>

This appears to be a bug introduced into the code generation framework. Thank you for bringing this to our attention. A fix will be included in a future release of PLECS.

The error is associated with the particular construction of your model. There is a simple work-around for this model to have parameter inlining function correctly.

[DSPV3-fixed.plecs](https://forum.plexim.com/uploads/short-url/nvhZcV0hGzAtzSYzDXNbWcT36vZ.plecs) (27.2 KB)
