Community Profile

photo

Ben


Active since 2012

Statistics

  • First Answer

View badges

Content Feed

View by

Answered
S-Function Level 1 vs S-Function Level 2
Solved it for my particular simulation: I had direct feedthrough incorrectly enabled for an input port. This created an agebrai...

9 years ago | 0

Answered
Level 1 vs Level 2 s-function execute time
Solved - for others having this problem, I had an input port direct feedthrough incorrectly set to true. This caused the creati...

9 years ago | 2

Question


Level 1 vs Level 2 s-function execute time
I have the same algorithm implemented as both a level-1 and level-2 S-function. The Level-2 version gets its core functions cal...

9 years ago | 1 answer | 0

1

answer

Answered
compute computational time
Tick the 'profile' box in the Simulink tools menu, then run your simulation again.

9 years ago | 0

Answered
S-Function Level 1 vs S-Function Level 2
Profile your code but ticking the 'profile' entry in the Simulink tools menu. You will probably see that the Level-2 function...

9 years ago | 0