How to call a simulink block/model in a matlab function?

I have used a look up table block in simulink. I want to call this model in my matlab function. How to do this? Its different than using a matlab function block in simulink. I want to use a simulink block in matlab function and not vice versa.

Answers (1)

You can run your Simulink model from MATLAB using the SIM command.

Categories

Find more on General Applications in Help Center and File Exchange

Products

Asked:

on 23 Jan 2014

Commented:

on 28 May 2022

Community Treasure Hunt

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

Start Hunting!