フィルターのクリア

The 'matlab.mixin' class does not support code generation.

3 ビュー (過去 30 日間)
Mike Leijten
Mike Leijten 2021 年 10 月 4 日
回答済み: Walter Roberson 2021 年 10 月 4 日
Hi everyone,
I have a code that runs perfectly fine in matlab. But when I try to run the same function from a Simulink function block, I get the following error:
The 'matlab.mixin' class does not support code generation.
What is going on here and is there perhaps any way around this?
Thanks very much in advance for your time ans answer.

採用された回答

Walter Roberson
Walter Roberson 2021 年 10 月 4 日
"You cannot generate code for classes that inherit from built-in MATLAB classes."
There is no work-around except to rewrite your code so that it does not inherit from matlab.mixin

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by