Access Matlab System object instance from Simulink callback

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

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Create System Objects 的更多信息

产品

版本

R2018a

提问:

2018-10-30

Community Treasure Hunt

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

Start Hunting!

Translated by