Skip to main content
Carl Troili
Associate
July 3, 2018
Solved

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

  • July 3, 2018
  • 2 replies
  • 1719 views
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.
Best answer by AvaTar
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.

2 replies

Tesla DeLorean
Guru
July 3, 2018
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 VenmoUp vote any posts that you find helpful, it shows what's working..
AvaTar
AvaTarAnswer
Senior III
July 3, 2018
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
July 3, 2018
Posted on July 03, 2018 at 13:44

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

Thanks