Thread Subject: How to change "System target file" programmatically

Subject: How to change "System target file" programmatically

From: Mirek L

Date: 14 Oct, 2009 15:46:18

Message: 1 of 2

Hi All,

I want to change "System target file" option in the Configuration Parameters/Real-Time Workshop programmatically i.e. using
 set_param('model_name', …..) from the command line.

I couldn't find the solution on neither forum nor Simulink documentation.

Thanks,
Mirek

Subject: How to change "System target file" programmatically

From: Guy Rouleau

Date: 14 Oct, 2009 23:20:20

Message: 2 of 2

"Mirek L" <miroslawl@gmail.com> wrote in message <hb4roa$ffg$1@fred.mathworks.com>...
> Hi All,
>
> I want to change "System target file" option in the Configuration Parameters/Real-Time Workshop programmatically i.e. using
> set_param('model_name', …..) from the command line.
>
> I couldn't find the solution on neither forum nor Simulink documentation.
>
> Thanks,
> Mirek

What about about something like:

set_param(bdroot,'systemTargetFile','ert.tlc')

Tip, when I can't find the option I am looking for I try

get_param(bdroot,'objectparameters')

if the thing exists it will be in the list.

Guy

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
rtw Mirek L 14 Oct, 2009 11:49:04
simulink Mirek L 14 Oct, 2009 11:49:04
programmatically Mirek L 14 Oct, 2009 11:49:04
rssFeed for this Thread

Contact us at files@mathworks.com