Hello !
I am using Simulation Interface Toolkit 2011 with the following Matlab/Simulink versions:
MATLAB Version 7.4 (R2007a)
Simulink Version 6.6 (R2007a)
Control System Toolbox Version 8.0 (R2007a)
Optimization Toolbox Version 3.1.1 (R2007a)
Real-Time Workshop Version 6.6 (R2007a)
Signal Processing Blockset Version 6.5 (R2007a)
Signal Processing Toolbox Version 6.7 (R2007a)
SimMechanics Version 2.6 (R2007a)
Simulink Control Design Version 2.1 (R2007a)
Spline Toolbox Version 3.3.2 (R2007a)
Stateflow Version 6.6 (R2007a)
Stateflow Coder Version 6.6 (R2007a)
Statistics Toolbox Version 6.0 (R2007a)
System Identification Toolbox Version 7.0 (R2007a)
I am also using MS Visual C++ 2005 v.8.0.50727.867 and Labview 11.0.1f2 (32 bit)
I can successfully autocode and compile simple models into "nidll" dll targets. However, I have a larger model that won't autocode correctly. I get the following error messages:
...
### Caching model source code
..
Error: File: C:\SimulationInterfaceToolkit\2011\UserInterface\DLL\tlc_c\NI_SIT_IO.tlc Line: 82 Column: 114
The specified index (3) was out of the range 0 - 0
Error: File: C:\SimulationInterfaceToolkit\2011\UserInterface\DLL\tlc_c\NI_SIT_IO.tlc Line: 82 Column: 114
The specified index (2) was out of the range 0 - 0
Error: File: C:\SimulationInterfaceToolkit\2011\UserInterface\DLL\tlc_c\NI_SIT_IO.tlc Line: 82 Column: 114
The specified index (1) was out of the range 0 - 0
I have simplified my model to few constant-blocks with their SIT Output-Blocks and the Signalprobe-Block . Other similiar models are fine.
Line 82 of my NI_SIT_IO.tlc file is:
%assign realDataInputPort = BlockOutputs.GlobalBlockOutput[IDNUM(DataInputPort.SignalSrc[sigIdx])[1]]
Any ideas on what could be causing these error messages?
Thank you.