Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Using xpctag with SimMechanics sensors

2 visualizaciones (últimos 30 días)
Maximilian
Maximilian el 1 de Ag. de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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.
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?

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by