error: There is no block named 'xpcutilitieslib/Byte Packing' (when using add_block(​'xpcutilit​ieslib/Byt​e Packing', 'mySlx/pack')

3 views (last 30 days)
what a trick
got error:
There is no block named 'xpcutilitieslib/Byte Packing'
when:
add_block('xpcutilitieslib/Byte Packing', 'mySlx/pack')
but adding a ''space'' after the block name "Byte Packing" it all goes right
add_block('xpcutilitieslib/Byte Packing ', 'mySlx/pack')
using matlab/simulink 2019b
ToT
:)

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!