How do I make a simscape integral in a custom component?
조회 수: 8 (최근 30일)
이전 댓글 표시
If I have an equation x = integral(y,dt) how would I implement this in a simscape custom component?
The code that I have actually comes from verilog AMS:
Mirr = idt(dMirr, Manh);
Would this be simmilar in simscape?
Mirr.der == dMirr;
댓글 수: 0
답변 (1개)
Michelle Wu
2017년 4월 27일
For component customization in Simscape, the 'integ' operator lets you perform time integration of an expression in the equations section of a Simscape file without declaring and initializing extra variables. Please refer to the doc page below for syntax and examples:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Equations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!