MATLAB: How can i call a Simulink function in a stateflow

functionsimulinkstateflow

I have a Simulink file with one inport one outport, a Lookup Table block and a function-call Trigger port. I want to execute this file in a stateflow as a function, but i dont know how to call it. What i tried is something like this:
[output of the simulink file]=Name_simulink_file(input to the simulink file)