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?

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Gefragt:

am 23 Feb. 2016

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by