How do I access the value/state/output of a simulink block?

1 view (last 30 days)
I need the value/state/output of a simulink block. My function needs to access the state of a switch for example. Or a NAND gate for example. IF these switches and blocks are in Simulink, how do it get the values/states/outputs of it to use in my function file?
Here for example if i need to get output of outport, or the NAND gate.

Answers (0)

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!