Reading inport at simulation start

I have a subsystem containing a state space block. I want to use the initial value (t=0) of a signal at an inport of the subsystem, as an initial condition in the state space block.
How can I read the signal from an inport block at the start of the simulation?

Answers (0)

This question is closed.

Products

Asked:

on 23 Feb 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!