Multiple output in Switch block
2 views (last 30 days)
Fangjun Jiang on 11 Sep 2023
Using your example, just specify the top input as constant [1, 2,3], the bottom input as constant [4,5,6]. The output will be a 1x3 vector (or 3x1). Then use a Demux block to get a, b, c.