Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: How to call an API in Simulink
Date: Sat, 7 Nov 2009 16:43:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 4
Message-ID: <hd482m$na9$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257612182 23881 172.30.248.35 (7 Nov 2009 16:43:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 7 Nov 2009 16:43:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1557096
Xref: news.mathworks.com comp.soft-sys.matlab:583235


Dear friends,
 I have an API written in MATLAB .m script file which can talk to the Galil motion control board and I can spin the motor of my system with some selected commands. Finally I want to control the system using Simulink real-time workshop. Now the question is how I include that API in Simulink. I tried with embedded M-function and it did not work. Could you please suggest something that makes the whole system working? Thanks in advance.

Jadav