What's the difference between address and pointer?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MIN HOON
am 2 Dez. 2022
Beantwortet: Sameer Pujari
am 5 Dez. 2022
here is the link that has the sentenses in which i have some questions.
and this doc says " Passes each reusable subsystem output argument as an address of a local, instead of as a pointer to an area of global memory containing the output arguments."
- what's the difference between address and pointer. Are they samething?
- what's the reusable subsystem? -> I guessed being good at reuseing to any other model. is that right?
- what's the global memory?
- what's the argument?
0 Kommentare
Akzeptierte Antwort
Sameer Pujari
am 5 Dez. 2022
Hello Min Hoon
Code generation in Simulink provides code optimization by allowing function reuse. The following documentation link guides you through the ways to function reuse. Kindly go through it. Function Reuse in Generated Code - MATLAB & Simulink - MathWorks India
Function subsystems can be reused, and passed as structure or argument in the code generated. The documentation link shows how the two generated codes differ Optimize Generated Code by Passing Reusable Subsystem Outputs as Individual Arguments - MATLAB & Simulink - MathWorks India
You may find the answer to your queries in the above documentation links
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!