Error in simulnk: Action types are not supported
Show older comments
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.
<<
<<
<<

>>
>>
>>
1 Comment
Alexander Shim
on 31 May 2018
Answers (1)
Kiran Kintali
on 21 Oct 2020
0 votes
This question has two parts:
- Does HDL Coder currently support "Fuzzy Logic Controller"?
- 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
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!