电子设计工程
電子設計工程
전자설계공정
ELECTRONIC DESIGN ENGINEERING
2011年
18期
27-29,32
,共4页
S函数%Simuhnk%建模%仿真%编译
S函數%Simuhnk%建模%倣真%編譯
S함수%Simuhnk%건모%방진%편역
S-function%Simulink%modeling%simulation%compile
Simulink支持各种动态系统的建模仿真。S函数是整个Simulink动态系统的核心,通过S函数可将系统的数学方程表达式与方框图表达形式联系起来。探讨了S函数的建模和仿真问题.研究在S函数中使用M文本方式输入公式、方程,非常适合复杂动态系统的数学描述。用Simulink模块库中传递函数模块作对编写的M文件S函数模块与了对比实验,并对编制调试好S函数进行了编译,编译后的S函数通过了仿真速度测试脚本文件,结果验证了编译后S函数的仿真执行速度大致会提高了一倍。
Simulink支持各種動態繫統的建模倣真。S函數是整箇Simulink動態繫統的覈心,通過S函數可將繫統的數學方程錶達式與方框圖錶達形式聯繫起來。探討瞭S函數的建模和倣真問題.研究在S函數中使用M文本方式輸入公式、方程,非常適閤複雜動態繫統的數學描述。用Simulink模塊庫中傳遞函數模塊作對編寫的M文件S函數模塊與瞭對比實驗,併對編製調試好S函數進行瞭編譯,編譯後的S函數通過瞭倣真速度測試腳本文件,結果驗證瞭編譯後S函數的倣真執行速度大緻會提高瞭一倍。
Simulink지지각충동태계통적건모방진。S함수시정개Simulink동태계통적핵심,통과S함수가장계통적수학방정표체식여방광도표체형식련계기래。탐토료S함수적건모화방진문제.연구재S함수중사용M문본방식수입공식、방정,비상괄합복잡동태계통적수학묘술。용Simulink모괴고중전체함수모괴작대편사적M문건S함수모괴여료대비실험,병대편제조시호S함수진행료편역,편역후적S함수통과료방진속도측시각본문건,결과험증료편역후S함수적방진집행속도대치회제고료일배。
Simulink supports a variety of dynamic systems modeling and simulation. Simulink S-function is the dynamic core of the system, the S-function to the system block diagram of mathematical equations and expressions hnked to forms of expression. Discusses the S-function modeling and simulation problems is to study the use of M in S-function input text formulas, equations, well suited for the mathematical description of complex dynamic systems. Simulink block library with the transfer function of the module against M-file S-functions written in the module and the comparative experiments, and the preparation tested by S-function has been compiled, the compiled S-function simulation speed through the test script file, compiled the results verified S-function simulation execution speed will roughly doubled.