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 ?

Answers (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.

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Asked:

on 7 Jan 2018

Answered:

on 10 Jan 2018

Community Treasure Hunt

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

Start Hunting!