From: Andrew on
Martin,

I'm having the same problem with 2010a.

Were you able to fix the problem? If so, what was the answer?

Andrew

"Martin Stolpe" <martin.stople(a)uni-ulm.de> wrote in message <hqk02j$32p$1(a)fred.mathworks.com>...
> Hello,
> I'm using a m-script to simulate my model. When I try to run the following commands:
>
> mdl = 'my_system';
> load_system(mdl);
>
> simMode = get_param(mdl, 'SimulationMode');
> cs = getActiveConfigSet(mdl);
> set_param(cs, 'StopTime', '1');
> mdl_cs = cs.copy;
> simOut = sim(mdl, mdl_cs);
> set_param(mdl, 'SimulationMode', simMode);
>
> I get the following error:
> ??? Error using ==> run_me at 37
> Error using ==> slsf at 120
> Target Function Library 'Simulation Target TFL IPP' is missing or does not contain a valid TFL Table.
>
> It was already working. But some parameter of the model seems to have changed which are causing this error.
>
> Regards,
> Martin
From: Martin Stolpe on
Hello Andrew,
I totally forgot about this post. Yes I was able to fix the problem after I contacted the Matlab support. Here is the reply I got which solved my problem:
"we know that the error is related to the MATLAB path, please restore the default path

File --> set path --> Default

After that please try a demo model before your."

Martin

"Andrew " <andrew.tuckey(a)pcorp.com.au> wrote in message <hup9ul$43i$1(a)fred.mathworks.com>...
> Martin,
>
> I'm having the same problem with 2010a.
>
> Were you able to fix the problem? If so, what was the answer?
>
> Andrew
>
> "Martin Stolpe" <martin.stople(a)uni-ulm.de> wrote in message <hqk02j$32p$1(a)fred.mathworks.com>...
> > Hello,
> > I'm using a m-script to simulate my model. When I try to run the following commands:
> >
> > mdl = 'my_system';
> > load_system(mdl);
> >
> > simMode = get_param(mdl, 'SimulationMode');
> > cs = getActiveConfigSet(mdl);
> > set_param(cs, 'StopTime', '1');
> > mdl_cs = cs.copy;
> > simOut = sim(mdl, mdl_cs);
> > set_param(mdl, 'SimulationMode', simMode);
> >
> > I get the following error:
> > ??? Error using ==> run_me at 37
> > Error using ==> slsf at 120
> > Target Function Library 'Simulation Target TFL IPP' is missing or does not contain a valid TFL Table.
> >
> > It was already working. But some parameter of the model seems to have changed which are causing this error.
> >
> > Regards,
> > Martin