How to link .m files with simscape ?

I have a simscape model and an m file. I want both to run in sync. The signal fed to the simscape model is generated at each instance of time by the m file and the output of the model is the input for the m file.

Categories

Find more on Simscape in Help Center and File Exchange

Asked:

on 8 Feb 2015

Answered:

on 6 Jan 2026

Community Treasure Hunt

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

Start Hunting!