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

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 ?

回答(1 个)

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.

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!