How to create a new .ssc-File for Simscape Custom Component?
85 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2019 年 9 月 5 日
編集済み: MathWorks Support Team
2022 年 5 月 18 日
How to create a new .ssc-File for Simscape Custom Component?
I do not find a new file button for .ssc-files.
採用された回答
MathWorks Support Team
2022 年 5 月 18 日
編集済み: MathWorks Support Team
2022 年 5 月 18 日
In R2019b and later releases, the function 'sscnewfile' can be used to create new '.ssc' files for custom Simscape components. See the following documentation for more information on 'sscnewfile':
In R2019a and earlier there are two possibilities:1. Copy an existing ssc-file and change the content of it, so you can easily customize an existing component.2. Create a new script in the MATLAB Editor, click "Save as", and manually change the file name to end with '.ssc'
If you need more information about Simscape Language, then please check the following documentation:
What Is the Simscape Language?
Simscape File Types and Structure
Creating Custom Components
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Foundation and Custom Domains についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!