I am trying to run a model on a Xilinx Zynq Zedboard platform by using the HDL Coder and the Embedded Coder Support Package for Xilinx Platform.
The model is a first order plant controlled by a PID controller. The idea is to run the plant model on the PL of the Zynq and the PID control algorithm on the PS.
I configured correctly the Xilinx support package and I can run an example application too (https://www.mathworks.com/help/hdlcoder/examples/getting-started-with-hardware-software-codesign-workflow-for-xilinx-zynq-platform.html#d120e14448).
The problem is the following: when I run the HDL Workflow Advisor at step 1.2 I got the following error (see also figure below):
     Failed Internal Error: Could not connect the blocks in the model 'PID_example2'. Look for unconnected blocks or other warnings or errors and correct them to continue.
    Error using slhdlcoder.HDLCoder/createPir
    Internal Error: Could not connect the blocks in the model 'PID_example2'. Look for unconnected blocks or other warnings or errors and         correct them to continue.
    Error in hdlturnkey.table.TargetInterfaceTable/runPirFrontEnd
    Error in hdlturnkey.table.TargetInterfaceTable/buildInterfaceTable
    Error in hdlturnkey.table.TargetInterfaceTable/populateInterfaceTable
    Error in downstream.DownstreamIntegrationDriver/loadInterfaceTable
    Error in setTargetReferenceDesign
    Error in Simulink.ModelAdvisor/executeCheckCallbackFct
    Error in Simulink.ModelAdvisor/run
    Error in Simulink.ModelAdvisor/runCheck
    Error in ModelAdvisor.Node/runTaskAdvisor
Notice that all the blocks in my model are connected.
I attach the model I am using and the error message.