Thread Subject: Path for RTW executable output file

Subject: Path for RTW executable output file

From: Yucko

Date: 29 Nov, 2007 15:08:56

Message: 1 of 3

Is it possible, when running a RTW compiled model, to specify where I want the resulting output MAT-file?
Now, it's created in the same folder as the exe-file.

Subject: Path for RTW executable output file

From: Chris

Date: 29 Nov, 2007 23:49:02

Message: 2 of 3

Yucko <kriwik-1@student.ltu.se> wrote in message
<9997966.1196348966608.JavaMail.jakarta@nitrogen.mathforum.org>...
> Is it possible, when running a RTW compiled model, to
specify where I want the resulting output MAT-file?
> Now, it's created in the same folder as the exe-file.

Assuming you're using the ToFile block, have you tried to
hard code the path into the filename field?

-Chris

Subject: Path for RTW executable output file

From: Yucko

Date: 30 Nov, 2007 07:45:34

Message: 3 of 3

I found the answer myself:

model.exe -o c:\temp\matfile.mat for instance.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com