Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Using xpctag with SimMechanics sensors
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a SimMechanics 2G joint that is outputting its position using the built in sensor. I will be generating code from this model and running it real-time on a speedgoat target computer. I would like to take the joint position signal from the target while running and feed it back to another simulink model to drive a visualization on the host computer.
I am tagging the output signal of the PS-Simulink with xpctag as described here: http://www.mathworks.com/help/xpc/ug/xpc-target-interface-blocks-to-simulink-models.html?searchHighlight=xPCTag%28#f4-27459
However when running the SimulinkRealTime.utils.createInstrumentationModel function on the model it gives me a warning saying that I can only mark the output ports of non-virtual blocks.
Is there a workaround for this in order to get the SimMechanics sensor signals from the real-time target?
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!