Ansys Learning Forum › Forums › Discuss Simulation › Embedded Software › How to change the return type of the created function operator? › Reply To: How to change the return type of the created function operator?
April 30, 2024 at 8:48 am
Romain Andrieux
Ansys Employee
Â
Hello,
To clarify, are you looking to:
Â
- Integrate code generated from SCADE Suite ?
- Integrate code generated from SCADE Display ?
- Integrate imported code into SCADE Suite ?
Â
For code generated from SCADE Suite, the output is either generated as return or passed by argument depending on multiple conditions.
It is returned when the followings are met:Â
Â
- The operator is declared as a function,
- It has only one output,
- If it is a root operator, then the code generation option ‘Separate I/Os’ must be set for this operator.
Â
Thanks
Romain
Â