Compiling simstruc.h in Visual Studio
Show older comments
I have compiled a Simulink model to a 64-bit dll using the ert_shrlib target in Matlab 2011b, and written a simple C++ script that imports that dll and steps through the model. I've tested the code with a simple model (that doesn't require simstruc.h) and it works. With the full model (that requires simstruc.h) the compiler runs out of heap space, eventhough I use a 64-bit compiler and have increased the heap using the Visual Studio setting /HEAP.
How can I solve this issue?
Accepted Answer
More Answers (1)
Upanita Goswami
on 15 Jul 2016
0 votes
Hi Fabian,
I am running into the same issue. Can you tell me which lines of code you commented out in simstruc.h that resolved the issue?
Thanks, Upanita
Categories
Find more on Verification, Validation, and Test in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!