Path: news.mathworks.com!not-for-mail
From: "jay kumar" <kumar.jay.123@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Using workspace variable in m-file
Date: Sat, 6 Sep 2008 06:33:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <g9t86u$cu5$1@fred.mathworks.com>
Reply-To: "jay kumar" <kumar.jay.123@gmail.com>
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 1220682782 13253 172.30.248.37 (6 Sep 2008 06:33:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 6 Sep 2008 06:33:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1493572
Xref: news.mathworks.com comp.soft-sys.matlab:488893



Hi,
I want to use workspace variables in my m-file and i want to do some operation on that variables in m-file. but that variables and their values are available in workspace.

e.g I want to multiply two transfer functions and obtain bode plot for different values of parameters but that two transfer functions are available in workspace 

I do not want to write transfer functions again in m-file. Instead of that i want to obtain it from workspace.