フィルターのクリア

Error: S-Function 'GridControl_sf' does not exist

2 ビュー (過去 30 日間)
Stephan
Stephan 2013 年 3 月 26 日
Hi!
R2013a
I have a model with several s-functions. Everything worked when I used it in R2012a. Now I updated to R2013a. First thing I had to do, was to change the code generation target from grt to rsim (I'm using accelerator mode to simulate). Then I encountered the above problem. Contrary to the error message the s-function GridControl_sf does exist in the same folder as the model. The name of the file is 'GridControl_sf.mexw32'.
I don't know what this is about. what is the meaning of the 32 in mexw32? I'm alos using a 64bit system with 64bit version of matlab.
Help is greatly appreciated.

採用された回答

Kaustubha Govind
Kaustubha Govind 2013 年 3 月 26 日
The 32 in .mexw32 does indeed stand for 32-bit Windows. On 64-bit Windows, the MEX extension is .mexw64, so it looks like you need to re-compile your S-function on 64-bit MATLAB to get the right binary, so that 64-bit MATLAB recognizes the MEX-file.
  2 件のコメント
Stephan
Stephan 2013 年 3 月 27 日
Thanks. Is it also possible to install 32bit matlab on the 64 bit system?
Kaustubha Govind
Kaustubha Govind 2013 年 3 月 27 日
Yes, this is possible on Windows, but please see here for caveats.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by