Code generation fails with PLCnext Target for Simulink: pxc_plcn_make_rtw_hook error “Unrecognized method, property, or field ‘Identifier’ for class ‘MException'”
I am trying to generate code from a Simulink model using PLCnext Target for Simulink.
The model runs correctly in simulation, but code generation fails during the build process.
The build stops with the following error:
The call to pxc_plcn_make_rtw_hook, during the exit hook generated the following error:
Unrecognized method, property, or field ‘Identifier’ for class ‘MException’.
The build process will terminate as a result.
Caused by:
Unrecognized method, property, or field ‘Identifier’ for class ‘MException’.
This happens when runs “generate code”
Model configuration:
System target file: pxc_plcn.tlc
Template makefile: pxc_plcn.tmf
Generate code only: enabled
Language: C++
The error appears in the pxc_plcn_make_rtw_hook during the exit hook phase.
Is this related to an incompatibility between the PLCnext Target for Simulink and the MATLAB version, or is there a known issue with this hook?I am trying to generate code from a Simulink model using PLCnext Target for Simulink.
The model runs correctly in simulation, but code generation fails during the build process.
The build stops with the following error:
The call to pxc_plcn_make_rtw_hook, during the exit hook generated the following error:
Unrecognized method, property, or field ‘Identifier’ for class ‘MException’.
The build process will terminate as a result.
Caused by:
Unrecognized method, property, or field ‘Identifier’ for class ‘MException’.
This happens when runs “generate code”
Model configuration:
System target file: pxc_plcn.tlc
Template makefile: pxc_plcn.tmf
Generate code only: enabled
Language: C++
The error appears in the pxc_plcn_make_rtw_hook during the exit hook phase.
Is this related to an incompatibility between the PLCnext Target for Simulink and the MATLAB version, or is there a known issue with this hook? I am trying to generate code from a Simulink model using PLCnext Target for Simulink.
The model runs correctly in simulation, but code generation fails during the build process.
The build stops with the following error:
The call to pxc_plcn_make_rtw_hook, during the exit hook generated the following error:
Unrecognized method, property, or field ‘Identifier’ for class ‘MException’.
The build process will terminate as a result.
Caused by:
Unrecognized method, property, or field ‘Identifier’ for class ‘MException’.
This happens when runs “generate code”
Model configuration:
System target file: pxc_plcn.tlc
Template makefile: pxc_plcn.tmf
Generate code only: enabled
Language: C++
The error appears in the pxc_plcn_make_rtw_hook during the exit hook phase.
Is this related to an incompatibility between the PLCnext Target for Simulink and the MATLAB version, or is there a known issue with this hook? simulink, code-generation, plcnext MATLAB Answers — New Questions









