Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: how to control my input using a code in simulink modeling
Date: Sun, 8 Nov 2009 04:57:01 +0000 (UTC)
Organization: Ryerson University
Lines: 8
Message-ID: <hd5j2t$28l$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257656221 2325 172.30.248.37 (8 Nov 2009 04:57:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 8 Nov 2009 04:57:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2073719
Xref: news.mathworks.com comp.soft-sys.matlab:583290


hello,

Consider I want to control my input block( like a Dc source in simpower systems category in simulink) using a code( like an M-file code), do u have any suggestion for me?

to be more specific, i model my system in simulink but the input of my system is changing during the excution ( for example if the output is larger than a value the input should change) how I can control this source(DC voltage) source.

Thanks,
Ela