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 Comment

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

Sign in to comment.

Answers (0)

Categories

Asked:

on 5 May 2017

Edited:

on 29 Jun 2022

Community Treasure Hunt

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

Start Hunting!