Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Build a simulink model with RTW with s-function
Date: Fri, 6 Nov 2009 13:32:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 10
Message-ID: <hd18gi$bfm$1@fred.mathworks.com>
References: <hd12j6$r88$1@fred.mathworks.com> <hd16q7$pec$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 1257514322 11766 172.30.248.35 (6 Nov 2009 13:32:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 6 Nov 2009 13:32:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2079977
Xref: news.mathworks.com comp.soft-sys.matlab:583005


"Massimiliano " <massimiliano.cialdiNOSP@Mpowersoft.it> wrote in message <hd16q7$pec$1@fred.mathworks.com>...
> I can use 2 workarounds:
> 1) I make the build process to only generate file, then I edit rtwinIdent1.mk to get the line
> S_FUNCTIONS          := ../SG_c.c
> and then calls gmake from dos command line with correct parameters
> 2) I copy SG_c.c into rtwinIdent1_rtwin directory
Unfortunately workaround 2 is not applicable, because, when build process starts it cleans up the rtwinIdent1_rtwin directory, and also SG_c.c file is deleted.
So the only workaround is the first

thanks