I tried to compile the simulink model of MATLAB 2016a to a dll file in NI Veristand 2017 MIT by VS2010SP.
However, Error appeared as follows:
Error: File: C:\Veristand\2017\ModelInterface\tmw\codegen\NiBusLib.tlc Line: 1063 Column: 49
Unable to find Members within the CGType scope.
Error: File: C:\VeriStand\2017\ModelInterface\tmw\codegen\NiBusLib.tlc Line: 106 Column: 57
The left-hand side of a . operator must be a valid scope identifier.
Error: File: C:\VeriStand\2017\ModelInterface\tmw\codegen\NiBusLib.tlc Line: 106 Column: 57
The argument for an [] operation must be a repeated scope symbol, a vector, or a matrix
Error: File: C:\VeriStand\2017\ModelInterface\tmw\codegen\NiBusLib.tlc Line: 110 Column: 54
The left-hand side of a . operator must be a valid scope identifier.
Error: File: C:\VeriStand\2017\ModelInterface\tmw\codegen\NiBusLib.tlc Line: 113 Column: 17
The left-hand side of a . operator must be a valid scope identifier.
How this happened? Could someone help me to solve these problems?