How do I pass a pointer as an argument to a function caller in Simulink to extract data?
Ältere Kommentare anzeigen
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
Shanmuga Sundaram
am 29 Jun. 2022
Bearbeitet: Shanmuga Sundaram
am 29 Jun. 2022

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
Antworten (0)
Kategorien
Mehr zu AUTOSAR Blockset finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!