Hi,
I am trying to use the Simulation Interface Toolkit v3.0 to build a dll using Matlab R14 SP3 and Visual C++ 6.0 sp6. Using an identical setup but with the previous SIT (2.0.3) and with Matlab R14SP1, I am successfully able to build a working DLL for my labview app. However, when I installed the newer SIT and switched to R14SP3, I got all the way up to where the C compiler was invoked, and then got this error message: "Compiler limit: internal heap limit reached; use /Zm to specify a higher limit". I edited the makefile in the Matlab nidll_rtw folder, specifically adding "-Zm200" to "OPT_OPTS", and then tried rebuilding. The process lasted over an hour (usually takes ~10 minutes with SIT 2.0.3), and the resulting DLL did not run at all with my application. So I guess my questions are as follows:
- I assume the compiler error was likely due to the different code generated with SIT 3.0 (my simulink model is ~ 6MB, so it is somewhat large). Has this been encountered before and if so are there any better or correct fixes to this?
- I tried using SIT 2.0.3 with Matlab R14SP3 and it did successfully build the DLL. Is this an officially supported combination? I read through the readme that was included with the SIT2.0.3 package and I think it only claimed support through Matlab R14.
Thanks,
Paul Minear
Applied Research Labs
The Pennsylvania State University
pdm9 (at) psu (dot) edu