cancel
Showing results for 
Search instead for 
Did you mean: 

'cp' is not recognized as an internal or extrenal command

Carl Troili
Associate II
Posted on July 03, 2018 at 12:41

I try to build and run the 'Test_PIL_IIR_Filter' using Matlab 2018b.

I get the following error:

### Connectivity configuration for referenced model 'IIR_Filter_int32': STM32 PIL ###

### Preparing to start PIL simulation ...

Building with 'lcc-win64'.

'cp' is not recognized as an internal or external command,

operable program or batch file.

What could be the cause of this.

#SIMULINK

What should I do in order to run the simulation

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on July 03, 2018 at 13:21

CP would suggest the expectation of a UNIX/CYGWIN type environment being installed.

Assuming an Unix emulation environment, you probably need to install additional packages. 'cp' was, if I remember correctly, part of binutils.

View solution in original post

3 REPLIES 3
Posted on July 03, 2018 at 12:48

lcc-win64, sure you've picked the right target compiler here?

CP would suggest the expectation of a UNIX/CYGWIN type environment being installed.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Carl Troili
Associate II
Posted on July 03, 2018 at 13:44

Tried to install CYGWIN and after restarting my computer it did work.

Thanks

Posted on July 03, 2018 at 13:21

CP would suggest the expectation of a UNIX/CYGWIN type environment being installed.

Assuming an Unix emulation environment, you probably need to install additional packages. 'cp' was, if I remember correctly, part of binutils.