フィルターのクリア

Building model error (Invalid run-time parameter)

20 ビュー (過去 30 日間)
Agamemnon Krasoulis
Agamemnon Krasoulis 2012 年 6 月 7 日
Hi,
I am using Matlab R2009a on windows 7. I have a model which works fine in Simulink, but when I try to run the model on the xPC Target I get the following (strange) error:
Error building Real-Time Workshop target for block diagram.. Matlab error message: Invalid run-time parameter registration in S-function '..../Direct Lookup Table (n-D)2'. It can register run-time parameters only if the S-function is being inlined.
The strange thing is that the Direct Lookup Table is a built-in Matlab S-function. Apart from this, I can find the corresponding tlc file of the particular s-function.
(Switching to a newer version of MATLAB, unfortunately, is not an option, because of incompatibility issues with the model. The same model works fine in another machine with exactly the same configuration settings) Also, I have tried with two different c compilers: Microsoft visual studio 2005 and 2008.
Any help would be greatly appreciated.

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2012 年 6 月 8 日
There is a Bug Report with the same issue that says the bug was fixed in R14SP3. Can you see if turning "Inline Parameters" off fixes the issue?

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by