Effacer les filtres
Effacer les filtres

Access Matlab System object instance from Simulink callback

1 vue (au cours des 30 derniers jours)
Jiri Dostal
Jiri Dostal le 30 Oct 2018
Hi,
I have a functional class, named say "fClass", inheriting from the matlab.System class. When inserted to Simulink as a MATLAB System block, as say a block "mSysBlock", I'd like to call methods from fClass on the object instance that is assumably created for the block. Is there a way to access the system object instance of mSysBlock? When is the instance created, i.e. which callback can already access it?
Thank you, Jiri

Réponses (0)

Catégories

En savoir plus sur Create System Objects dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by