Mex file s-function does not support multiple rates

10 ビュー (過去 30 日間)
Xiaochen
Xiaochen 2016 年 8 月 2 日
回答済み: Weidi An 2017 年 11 月 8 日
I have built a model into s-function (.mex64). The model used to work pretty well, however running the s-function gives me error message as below:
The S-Function block xxx/xxx/xx S-Function' has multiple rates, yet accesses the global data store 'mcae_pccr_v_mode'; S-Functions accessing global data stores must be single rate.
My model is a multi-rate model. Is it allowed to generate s-function?

回答 (1 件)

Weidi An
Weidi An 2017 年 11 月 8 日
did you solve your problem already? if yes Could you please how did you solve it since i got the same error as well. Thanks!

カテゴリ

Help Center および File ExchangeBlock and Blockset Authoring についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by