ssc_build doesnt recognize .slx parts?
4 views (last 30 days)
Show older comments
So I made a few basic shapes using solids in simscape, the files are saved as *.slx. I want to be able to use these shapes in future models, like building blocks, so I think a library is best, the only problem is I cant generate a library using ssc_build, as it only recognizes .m and .ssc files.
My current directory is in */Documents/MATLAB/testsat/ if that matters. I made a folder called +package in that directory, and put all my shapes/slx parts in there, when I run ssc_build.
0 Comments
Answers (1)
Sabin
on 12 Aug 2025
The sscbuild function generates a Simulink .slx library file. The slx file cannot be provided as input to the function. We can add ssc, m, and svg/jpg/bmp/png (for customizeing the icon) files in the +folder.
Check out more about building custom simscape component files:
0 Comments
See Also
Categories
Find more on Simulink Environment Customization 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!