Get Rate transition Block Behavior from M-File
Show older comments
hello, i can't figure out a function to get the rate transition block behavior. i don't know if there is a built-in function for this purpose as i can't find it :( Thank you in advance for any help you can provide.
Answers (2)
Titus Edelhofer
on 29 Mar 2012
0 votes
Hi Khoubeib,
I don't understand: the rate transition block is only needed for multirate systems that are supposed to run in a multi tasking environment e.g. to ensure data consistency. So what do you need? A MATLAB function? For what purpose?
Titus
khoubeib
on 29 Mar 2012
0 votes
3 Comments
Kaustubha Govind
on 30 Mar 2012
AFAIK, there is currently no way to query the rate transition type programmatically. I would recommend confirming with Tech Support and submitting an enhancement request with your use-case.
Kaustubha Govind
on 30 Mar 2012
Although you may be able to figure it out on your own - the rate transition type is a function of the block dialog settings, so you can use get_param to get the parameter setting and then determine the expected behavior.
khoubeib
on 10 Apr 2012
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!