Model Error: It appears that build process was unable to locate some Utility(e.g. make,compiler,linker, etc.)

1 次查看(过去 30 天)
Hi! I am new to S-Functions and Real TIme WorkShop. The S-Function has been created using an Embedded Matlab Function. The S-Function Works fine, but when i try to build the same, i get the following error report:
_It appears that the build process was unable to locate some utility (e.g. make, compiler, linker, etc.). Please verify your path and tool environment variables are correct. You should be able to execute the make command: .\Radius_S_func2.bat at an MS DOS Command Prompt in the directory: C:\Users\skaushik\Desktop\Matlab Models\WIP\TESTs\Sfunc_2\Radius_S_func2_Source Currently, this generates the following error:
C:\Users\skaushik\Desktop\Matlab Models\WIP\TESTs\Sfunc_2\Radius_S_func2_Source>set MATLAB=C:\MATLAB\R2010b
C:\Users\skaushik\Desktop\Matlab Models\WIP\TESTs\Sfunc_2\Radius_S_func2_Source>.\..\..\..\u_Utils\Build\make -f Radius_S_func2.mk GENERATE_REPORT=0 INCLUDE_MDL_TERMINATE_FCN=0 COMBINE_OUTPUT_UPDATE_FCNS=1 MAT_FILE=0 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 PORTABLE_WORDSIZES=0 GENERATE_ERT_S_FUNCTION=0 GENERATE_ASAP2=0 EXT_MODE=0 EXTMODE_STATIC_ALLOC=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0 TMW_EXTMODE_TESTING=0 MODELLIB=Radius_S_func2lib.lib RELATIVE_PATH_TO_ANCHOR=.. MODELREF_TARGET_TYPE=NONE OPTS="-DRT -DUSE_RTMODEL -DERT" The system cannot find the path specified._
PLease guide me how to understand the error, so i can take care of it myself.
Thank you!!
  1 个评论
jany basha
jany basha 2014-1-24
hi, i am also facing same error problem''It appears that the build process was unable to locate some utility (e.g. make, compiler, linker, etc.)''
please help me if anyone know how to solve this error
thank you

请先登录,再进行评论。

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2013-8-7
Do both directories C:\MATLAB\R2010b and .\..\..\..\u_Utils\Build\make exist? Also, what is the System Target File selected in the Configuration Parameters window's "Real-Time Workshop" pane? The reason I am asking is that this error doesn't look like one of the standard errors, so it is possible that you are using a third-party product.
  1 个评论
Sheetansh Kaushik
编辑:Sheetansh Kaushik 2013-8-7
Thank you Kaustubha. Firstly, i had created the project in a different location then transfered the entire project, with the assosciated files and folders, to the 'C:\MATLAB\R2010b' (a desperate attempt at trying to understand the error) and tried the same build process. In vain, the error persisted.
The System target file, selected from the Configurations Parameter Window is selected for a dedicated Micro-Controller(MPC5567). So, yes, its a third party product.
'.\..\..\..\u_Utils\Build\make' does exist but not in 'C:\MATLAB\R2010b'. It exists in 'D:\...'

请先登录,再进行评论。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by