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

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はラピッドアクセラレーターモードで動作可能ですが、制約があります。
ラピッドアクセラレータに関する制約は、以下に情報があります。

추가 답변 (1개)

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.

카테고리

도움말 센터File Exchange에서 ブロックのオーサリングとシミュレーションの統合에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

2024년 4월 11일

답변:

2025년 12월 4일

Community Treasure Hunt

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

Start Hunting!