matlab S-Function
S-Function参考博客: https://blog.csdn.net/weixin_42650162/article/details/90488610function [sys,x0,str,ts,simStateCompliance] = sfuntmpl(t,x,u,flag)%主函数%主函数包含四个输出:% sys数组包含某个子函数返回的值% x0为所有状态的初始化向量% str是保留参