Can i able to access value from Data store memory in Embedded Matlab Function
Mostra commenti meno recenti
I am trying to access value of data store memory in matlab embedded function. But when I update my model I am getting the following error
*Embedded MATLAB Runtime Error: Error evaluating Embedded MATLAB parameter data 'Flag1' (#40) in its parent workspace.*
Can anyone please tell me why I am getting this error or any solution for this.
Thanks in advance.
Risposta accettata
Più risposte (1)
Kaustubha Govind
il 6 Set 2012
0 voti
Have you configured the block according to the documentation? Perhaps the Scope for 'Flag' has not been set to 'Data Store Memory' on the Ports and Data Manager?
5 Commenti
niharika
il 7 Set 2012
TAB
il 7 Set 2012
Which version of matlab you are using ? Global data in Matlab function block is somewhat newer feature not available in old versions.
niharika
il 7 Set 2012
Kaustubha Govind
il 7 Set 2012
See TAB's answer for R2007b.
niharika
il 8 Set 2012
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
