Error generating c/c++ code

조회 수: 8 (최근 30일)
omkar tulankar
omkar tulankar 2020년 11월 6일
답변: Emine Ozkara 2020년 12월 16일
following error I am getting while trying to develop the C/C++ code.
The call to Target_1500S_V4_0_grt_make_rtw_hook, during the entry hook generated the following error: WorkspaceLocation is not valid. The build process will terminate as a result.
Caused by:
  • WorkspaceLocation is not valid.
I have target 1500s v4 file and all supportive files downloaded in my PC.

채택된 답변

Emine Ozkara
Emine Ozkara 2020년 12월 16일
Hi,
I can tell by checking the error you shared in both the question and your answer to Mark that something about your ODK installation seems wrong.
I want you to check if you can use Eclipse for ODK manually.
You can also check if the ODK versions seems right on the Configuration Parameters: Target 1500S Options screen. However, I expect that once you get access to Eclipse the problem will be solved.
I will be following the activities on this question to make sure the problem is solved.
Best.

추가 답변 (2개)

Mark McBroom
Mark McBroom 2020년 11월 7일
Do any of the directories in your working directory path have any strange characters or spaces in it? If so, try moving to a directory that has only alphanumeric characters ( i.e. c:.work ).
Thanks.
Mark.

omkar tulankar
omkar tulankar 2020년 11월 9일
Hi Mark,
Thank you for your response.
This is the work directory I using in my MATLAB 'C:\Users\oulankar\Downloads\OPCSIMULINKCASE2\Simulink_Usecase2'.
The call to Target_1500S_V4_0_grt_make_rtw_hook, during the after_make hook generated the following error: Output argument "ret" (and maybe others) not assigned during call to "lib_V4_0.codegen.EclipseInterface.get.m_OdkCommandlineApplication". The build process will terminate as a result.
Caused by:
  • Output argument "ret" (and maybe others) not assigned during call to "lib_V4_0.codegen.EclipseInterface.get.m_OdkCommandlineApplication".
Component:Simulink | Category:Build error
??? Subsystem build failed
Above error I am getting now when I try to build subsystem.

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by