看着help文件就能了解个大概,下面是记录的一些有用的资料:
1、matlab自带help下搜索关键字component,介绍了ssc文件的基本结构和一些相关帮助链接。(2018b)
2、关于branches的理解:注意区分domain declaration和 component declaration。
前者为物理域的声明文件,是系统自带的ssc文件(也可以自定义),如electrical.ssc,所在路径为 X:\Program Files\MATLAB\R2018b\toolbox\physmod\simscape\library\m\+foundation\+electrical\electrical.ssc。
后者为组件声明文件,即用户自己写的ssc文件,用来生成simscape自定义模块。其中的node声明与物理域ssc文件所在路径对应。
help文档(2018b)中关于branches的解释(domain表示物理域,如电、热等,component表示物理域下的具体组件,如电阻、热源元件等):
branches begins the branches section, which is terminated by an end keyword. This section
contains one or more branch statements, which establish the relationship between the
Through variables of the compon