How do I pass a pointer as an argument to a function caller in Simulink to extract data?

Hello Everyone. Im working on an AUTOSAR project. If you declare a function that has output arguments, the generator creates a function with a pointer as an argument to return values in there, and the return of the function is used to report error conditions. Right now, I want to use that function to look for data in another module but I have not found the way to do that. Any suggestions. Thanks in advance.

1 Kommentar

Create return parameter name and set direction as error, the function prototype will be created as per type of that parameter. in my case this function returns calculate CRC value with type of uint8

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 5 Mai 2017

Bearbeitet:

am 29 Jun. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by