When I try to generate a DLL model from a simulink model using the NIDLL target in Simulink I get the following errors:
### TLC code generation complete.
### Generating TLC interface API.
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
..............................................................
Error: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 257 Column: 51
The specified index (1) was out of the range 0 - 0
Error: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 257 Column: 51
The specified index (1) was out of the range 0 - 0
Error: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 257 Column: 51
The specified index (1) was out of the range 0 - 0
Error: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 257 Column: 51
The specified index (1) was out of the range 0 - 0
If I perform the same operation but changing the Simulink target to Generic Real Time (grt.tmf) it works perfectly.
How can it be solved?
Thanks a lot.
Ignacio Sánchez Peral
SENER Ingeniería y Sistemas S.A.
Control Systems Section
Aerospace Division
C/ Severo Ochoa, 4 (PTM).
28760 Tres Cantos (Madrid) Spain.
ignacio.speral@sener.es
Tel + 34 91 807 74 34
Fax + 34 91 807 72 08
http://www.sener.es