It is possible to solve this by using a bus selector and bus creator after the function block. The bus creator has to have the "Output as non-virtual bus" checkbox checked.

Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!