アクセラレータで実行するとエラーが発生

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

1 comentario

晃平
晃平 el 11 de Abr. de 2024
S-functionはアクセラレータでは動かないのでしょうか。

Iniciar sesión para comentar.

 Respuesta aceptada

covao
covao el 9 de Jun. de 2024

0 votos

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

Más respuestas (1)

henry
henry el 4 de Dic. de 2025

0 votos

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.

Categorías

Más información sobre ブロックのオーサリングとシミュレーションの統合 en Centro de ayuda y File Exchange.

Productos

Versión

R2022b

Etiquetas

Preguntada:

el 11 de Abr. de 2024

Respondida:

el 4 de Dic. de 2025

Community Treasure Hunt

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

Start Hunting!