Efficient way of loading a big structure in a simulink model toward a real time application

1 次查看(过去 30 天)
I have a large struct ~ 100 mb which stores a bunch of multidimensional arrays. The struct is read inside a matlab function in my simulink model.
I’m wondering what’s the best way to load that kind of struct into matlab function? Using Coder.load or defining it as a parameter of the matlab function?
I’m using coder.load but my model generates an error saying ‘out of heap space’ during compilation. I suspect this error is somehow related to my way of loading/reading this struct.
The exact error is as follows:
Fatal error c1060 : compiler is out of heap space. Nmake : fatal error u1077. The make command returned an error of 2.
I’m using slrt.tlc, as I’ll be using simulink real-time to run my model.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by