Is it possible to share C++ object created in one S-Block to another S-Block ?
1 visualizzazione (ultimi 30 giorni)
Hi, I want to share C++ object created in one s-function block with other s-function blocks, is this possible ?
Using m-script and Level-2 matlab s-function, am able to share Matlab class object between different S-function blocks by storing the object created in configuration block into base workspace and accessing from other blocks wherever required from base workspace.
Ed Marquez il 18 Mag 2017
Hi KS Madhukumar,
I believe the MATLAB Answers post below has an answer and possible workaround to you question: