Dual Function Call Subsystem Implementation
1 次查看(过去 30 天)
显示 更早的评论
I am working with a real-time Simulink application and have two network interrupts that trigger IRQ Function Calls. I have a function call subsystem that needs to be triggered by either function call source depending on which is active (state of a tag say "network1Enbl")
So if network1Enbl = 1 use Function Call 1 to trigger the subsystem, else use Function Call 2.
The issue is obviously that you cannot preform normal operations on the function call signal or take in two function calls to a single subsystem.
My question is how can I implement this functionality, would it be possible to implement a custom S-Function to take in both Function calls and the network state, then output the selected Function Call? Perhaps there is there a more straight forward way to do this?
Would greatly appreciate some guidance, Thank you very much.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Development Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!