S-function BuilderからインラインS-functionを作成しました。
ノーマルで実行できますが、アクセラレータで実行するとエラーが発生します。
原因がわかる方はいらっしゃいますでしょうか。
~エラー内容~
Accelerator MEX ファイルの作成に問題があります。

1 件のコメント

晃平
晃平 2024 年 4 月 11 日
S-functionはアクセラレータでは動かないのでしょうか。

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

 採用された回答

covao
covao 2024 年 6 月 9 日

0 投票

英語だと、以下のエラーメッセージに相当するようです。
Problem creating Accelerator MEX file
この後に何かメッセージが表示されていれば、解決のヒントになる場合があります。
類似のエラーに関する情報が下記にあります。
S-functionはラピッドアクセラレーターモードで動作可能ですが、制約があります。
ラピッドアクセラレータに関する制約は、以下に情報があります。

その他の回答 (2 件)

henry
henry 2025 年 12 月 4 日

0 投票

The error appears because Accelerator mode forces the compilation of the S-function to MEX capybara clicker, and this process fails due to compiler or code incompatibility. You should check the compiler configuration and the S-function content to fix it.
gitea
gitea 2026 年 8 月 20 日 18:43

0 投票

This sounds like a tricky issue with the S-function Builder and Accelerator MEX compilation. Hopefully someone familiar with MATLAB can identify the cause and suggest a solution. pixelated picture is a separate topic, but image quality tools can also be useful when working with technical visuals.

製品

リリース

R2022b

質問済み:

2024 年 4 月 11 日

回答済み:

2026 年 8 月 20 日 18:43

Community Treasure Hunt

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

Start Hunting!