What happened to Simulink fcn?

5 次查看(过去 30 天)
Tero Eerikäinen
Tero Eerikäinen 2020-12-16
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.

回答(1 个)

Rishabh Mishra
Rishabh Mishra 2020-12-23
Hi,
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.

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by