MATLAB Answers

Steven
0

How do I make a simscape integral in a custom component?

Asked by Steven
on 19 Apr 2017
Latest activity Answered by Michelle Wu on 27 Apr 2017
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 Comments

Sign in to comment.

1 Answer

Answer by Michelle Wu on 27 Apr 2017

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 Comments

Sign in to comment.