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.

Réponses (0)

Cette question est clôturée.

Question posée :

le 13 Sep 2016

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by