Hello everyone! I’ve got some problems with the tutorial for the PCworx target for Simulink… As soon as I want to build my basic Simulink project, the build process failed and i get some errors: “C:\\Program Files (x86)\\PHOENIX CONTACT\\PC WORX Target for Simulink V1.42\\pxc_hlli\\utils\ make” -f TestSimulinkModell.mk HLLI_EXCEPTIONHANDLING=“IGNORE” INCLUDE_MDL_TERMINATE_FCN=1 MULTI_INSTANCE_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING PXC_IS_NEXT=1 PCWORX_SDK_SYSROOT=“C:\\Program Files (x86)\\PHOENIX CONTACT\\PC WORX Target for Simulink V1.42\\pxc_hlli\\targets\\AXCF2152_v2019.9\\sysroots\\cortexa9t2hf-neon-pxc-linux-gnueabi” OPTS=“-DEXT_MODE -DEXTMODE_STATIC -DEXTMODE_STATIC_SIZE=1000000 -DON_TARGET_WAIT_FOR_START=0” Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. Der Befehl “cmd” ist entweder falsch geschrieben oder konnte nicht gefunden werden. NMAKE : fatal error U1077: ‘cmd’ : return code ‘0x1’ Stop. ### Error: The make command returned an error of 2. ### Build procedure for model: ‘TestSimulinkModell’ aborted due to an error. Does anyone know, what to do? I reinstalled Matlab and the Addon 1000 times…
Hello Nkiolailo,
what windows version are you using?
It looks like matlab has problems accessing the commandline"cmd", maybe due to missing permissions?If you do 1. press start > 2.type “CMD” >3. press enter , the Commandline apears right?
Hello Oliver, Yes the Comandline appears and shows me this Windows Version: Microsoft Windows [Version 10.0.17134.1365]
(c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.
Hello Nikolailo, could you please attach the ‘ModelInfo.txt’ file from the _HLLI directory to get relevant information about your environment? The issue might be caused by spaces in the pathname of the SDK or path length. It is recommended to install the SDK in a low nested directory like "C:\\PLCnextSDK\" Kind Regards
Hello D.Simon, Sorry for the late reply. I installed a vm and everything is working fine there. Maybe it was because I did not have full access rights on my company computer. Thank You for your help. Kind regards