I am working on SoC block set communication examples, specifically AD9361. I am getting the errors when I run the simulinkexamples

8 次查看(过去 30 天)
I am getting the folloing error "Error:Unable to log output of 'soc_ADSB_sw/Task Manager', port '1'. You cannot log function-call signals, action signals, state signals, or signals that feed into a Merge block." for the folloing example "openExample('soc/PacketBasedADSBTransceiverExample'). And I am unable to download the following example " openExample('xilinxsoc/TransmitAndReceiveTonesUsingAD9361DualChannelsExample')" i am getting the following error" Error using findExample Unable to find "xilinxsoc/TransmitAndReceiveTonesUsingAD9361DualChannelsExample". Check theexample name and try again..
I am using Matlab 2023b

回答(1 个)

Paras Gupta
Paras Gupta 2024-5-16
Hi Jagadheesh,
I understand that you are getting the error provided in the question when you run the 'PacketBasedADSBTransceiverExample' example in Simulink.
The output signal of the 'Task Manager' block is typically a function-call signal. As evident from the error message, logging a function-call signal that is later fed to a 'Merge' block is not supported. The error can thus occur if the output of Task Manager is passed to a 'Merge' block.
To fix the error, try disabling signal logging by following the below steps:
  1. Navigate to the 'Task Manager' block mentioned in the error message.
  2. Right-click on the output signal line and select "Stop Logging Selected Signals".
You can refer to the following documentations links for more information:
Also, the example 'TransmitAndReceiveTonesUsingAD9361DualChannelsExample' seems to be present in MATLAB R2024a but not in R2023b. Consequently, MATLAB R2023b is unable to find the example as mentioned in the error. Please find the link to the R2023b documentation below:
Hope this helps.

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by