Run Simulink simulation from user defined function within its workspace

I am trying to run a Simulink simulation from within a user defined function and I want the simulation to utilize the variable values available within the function's workspace, not the 'base' workspace. Any help would be great. Thank you.

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 9 Apr 2014

Answered:

on 9 Apr 2014

Community Treasure Hunt

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

Start Hunting!