i'm working with Matlab S-function level 2 and i want to pass Data between functions, for exemple between function Initialize Conditions(block) and function Outputs(block) or function Update(block). I tried with Dwork vector but they can't take dimen
1 view (last 30 days)
Show older comments
i'm working with Matlab S-function level 2 and i want to pass Data between functions, for exemple between function Initialize Conditions(block) and function Outputs(block) or function Update(block). I tried with Dwork vector but they can't take dimensions of type [m x n]. I'm looking for something like global variable that can share data between all functions in my S-function. I tried with global or persistent but it give me error '' Undefined function or variable ''. Thanks for help
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!