LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SIT build fails in Matlab/Simulink

I'm having trouble compiling my Simulink models after downgrading from SIT 5.0 to SIT 4.0.

 

When I try to build the .dll from the simulink model i get the following error:

 

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.
 
 mkdir C:\SimulationInterfaceToolkit;C:\SimulationInterfaceToolkit\ModelInterface\\tmw\lib
A subdirectory or file C:\SimulationInterfaceToolkit already exists.
Error occurred while processing: C:\SimulationInterfaceToolkit.
A subdirectory or file C:\SimulationInterfaceToolkit\ModelInterface\\tmw\lib already exists.
Error occurred while processing: C:\SimulationInterfaceToolkit\ModelInterface\\tmw\lib.
The syntax of the command is incorrect.
NMAKE : fatal error U1077: 'copy' : return code '0x1'
Stop.

 

Does anybody recognize this or know what to do about it?

0 Kudos
Message 1 of 4
(3,192 Views)

First: That's a simulink question, this is a labview board, they are two different things (honest).

 

Second, it looks like your path is listed wrong.  If you know where to set the path, remove the last \ in it.    I may be completely wrong though, as I don't use simulink, but that's what the \\ in your path tells me.

 

Good luck

Message 2 of 4
(3,189 Views)

Hi Peter,

 

How did you "Downgrade" From SIT 5.0 to 4.0? Did you make sure that all the SIT files where removed?

 

A possible solution is to remove the files and folders mentioned in the error and see if the error repeats. Also, if you didn't when you downgraded, you might want to completely uninstall SIT, delete the C:\SimulationInterfaceToolkit folder and then reinstall.

Sappster
0 Kudos
Message 3 of 4
(3,130 Views)

Hi Peter,

             Try adding the following lines into the startup.m file

addpath('C:\SimulationInterfaceToolkit\ModelInterface\tmw');
addpath('C:\SimulationInterfaceToolkit\UserInterface');
addpath('C:\SimulationInterfaceToolkit\lib');
NISITServer;

Regards

Akshat

0 Kudos
Message 4 of 4
(2,912 Views)