What happened to Simulink fcn?

17 views (last 30 days)
Tero Eerikäinen
Tero Eerikäinen on 16 Dec 2020
Answered: Rishabh Mishra on 23 Dec 2020
What happened to Simulink fcn? It does not exist anymore in User defined function and Commonly used blocks? Now one has to use a multitude of sums, multiplications etc. Is there somewhere substitute to fcn. Using Matlab fcn in Simulink crashes whole Matlab.

Answers (1)

Rishabh Mishra
Rishabh Mishra on 23 Dec 2020
You can utilize the following blocks:
  1. ‘function caller’
  2. ‘MATLAB function’
  3. ‘Simulink function’
Using these simulink blocks, you can define the required function.
If there is some issue while using these blocks
  • You can create a function using stateflow chart
Refer this link for documentation of method described above. The document also illustrates how to use ‘Simulink function’ block.
Hope this helps.


Find more on Simulink Functions in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!