How to create protected model for peripheral blocks in "Embedded Coder support Package for Texas Instrument 2000 Processors" library?

I am implementing example posted as "2 BOOSTXL-DRV8305 + LAUNCHXL-F28379D C2000 LaunchPad: c28379Dpmsmfocdual_cpu1_ert.slx" posted on Mathworks website - https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples/permanent-magnet-synchronous-motor-field-oriented-control.html
Whenever I am trying to include these peripheral model blocks from library "Embedded Coder support Package for Texas Instrument 2000 Processors" in reference model (daughter) to create a Reference Protected Model, error occurs while creating and building protected which says "The model 'subsytem' cannot be protected because it or a model that it directly or indirectly references contains a non-inlined S-Function". If model blocks from this library is outside the protected block everything work fine. Any clue How to create protected model for blocks in "Embedded Coder support Package for Texas Instrument 2000 Processors" library?

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!