The SMA contracts when switch (S1) is closed and distends when the switch is open. The switch can be replaced with relays or sensors. Many of the previous blocks that use relays can be coupled to an SMA by adding a block like this one.
Figure 1 Simple SMA driver.