How do I generate code that does not copy read-only data accessed in a MATLAB Function block?
Show older comments
I have a MATLAB Function Block in a Simulink model that reads from a large amount of data. I would like to make sure that only one copy of this data exists in the generated code, to avoid unnecessary time and memory overhead.
How do I give the MATLAB Function Block access to this data without ever making a copy of it?
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!