We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

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?

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

Â