Skip to main content
Carl Troili
Associate
Jul 3, 2018 10:41 AM UTC
Solved

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

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

This topic has been closed for replies.
AvaTar
AvaTarBest answer
Senior III
Jul 3, 2018 1:21 PM UTC
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.

3 replies

Tesla DeLorean
Guru
Jul 3, 2018 10:48 AM UTC
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
AvaTar
AvaTarBest answer
Senior III
Jul 3, 2018 1:21 PM UTC
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.

Carl Troili
Associate
Jul 3, 2018 11:44 AM UTC
Posted on July 03, 2018 at 13:44

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

Thanks