How to use Pwork vectors for multiple C++ Objects

I would like to use the Pwork vectors in one of our sfunctions. I have gone through the examples mentioned under this link
How can I pass two counter objects from mdlstart to mdloutputs.?
For eg., I have to pass the objects like new counter1 and new counter 2
In your examples in the above link it is shown like for only one object. I need to pass two object.
Kindly let me know how to do it.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 13 de Sept. de 2016

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by