Error in simulnk: Action types are not supported

1 view (last 30 days)
in simulink when you generate HDL code error 'block 'untitled/Fuzzy logic controller/Master fix problems/we/VerySmall/if' Action types are not supported.'Seen in the screenshots. Help me.
<<
<<
<<
>>
>>
>>

Answers (1)

Kiran Kintali
Kiran Kintali on 21 Oct 2020
This question has two parts:
  1. Does HDL Coder currently support "Fuzzy Logic Controller"?
  2. Does HDL Coder support "If" Action subsystem?
The answer to both questions is no.
We have plans to support "if/switch" and other conditional subsystems in Simulink in near future.
In the interim these conditional control flow based subsystems can be easily modeled using existing data flow semantics supported by HDL Coder.
For example, in R2020b or prior releases you can easily translate an "If action subsystem" such as the following
into following HDL Coder compatible model

Categories

Find more on Code Generation 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!