how can I use one s-function to process multi signals simultaneously rather than config several same s-functions for each signal path?

1 view (last 30 days)
I want to use one s-function to process multi signals simultaneously rather than config several same s-functions for each signal path, like some models in math operation in simulink lib ?

Answers (1)

Wentao Du
Wentao Du on 10 Jan 2018
Please refer to these two demos shipped with Simulink:
1. sfcndemo_dtype_io.slx
2. sfcndemo_sfun_multiport.slx
You can open them by typing the names in MATLAB command window.

Categories

Find more on 准备模型输入和输出 in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!