ssc_build doesnt recognize .slx parts?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Sabin
am 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 Kommentare
Siehe auch
Kategorien
Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!