フィルターのクリア

Error C MEX S-function

20 ビュー (過去 30 日間)
Engineer
Engineer 2023 年 11 月 30 日
編集済み: Infinite_king 2024 年 1 月 16 日

Hello there, I have a Amesim Black box model in Simulink. On my desktop, it works well. Also i tried to run on other desktops. Most of them work well. But some of them gives following error: Error in 'Model' while executing C MEX S-function 'Model', (mdlInitializeConditions), at time 0.0. Caused by: in Simcenter Amesim mexfunction: 'Model', Simcenter Amesim fatal error Cannot initialize Simcenter Amesim Model. EXIT This is an urgent case for me. Could you please help me?

Thank you so much.

回答 (1 件)

Infinite_king
Infinite_king 2024 年 1 月 12 日
編集済み: Infinite_king 2024 年 1 月 15 日
Hi Engineer,
Follow the general troubleshooting steps below to possibly resolve the issue,
  1. Check Simcenter Amesim license validity before exporting the model.
  2. Verify correct configuration of environment variables related to Simcenter Amesim.
  3. Ensure Simcenter Amesim version compatibility between the model and installed software.
  4. Check for differences in solver settings between working and non-working computers.
  5. Verify accessibility and correct setup of Simcenter Amesim model dependencies.
  6. Review Simulink model configuration parameters related to Amesim integration.
  7. Check for any additional error messages or log files generated during initialization..
Hope this is helpful.
  2 件のコメント
Engineer
Engineer 2024 年 1 月 15 日
Is it necessary to have Simcenter Amesim in computer to use blackbox model in Simulink?
Infinite_king
Infinite_king 2024 年 1 月 15 日
編集済み: Infinite_king 2024 年 1 月 16 日
Refer this, https://community.sw.siemens.com/s/article/Export-AMESim-model-Blackbox-to-MATLAB-Simulink-using-GNU-gcc-x64#:~:text=Simcenter%20AMESim%C2%A0removed.-,Pre%2Drequisite,-%2D. I've provided general troubleshooting steps, and it's possible that some steps may not apply to your specific situation. If the issue still persists, contact MathWorks support for further assistance, https://www.mathworks.com/support/contact_us.html.

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

カテゴリ

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