How to solve mixin warning issue

5 ビュー (過去 30 日間)
Shin
Shin 2023 年 1 月 14 日
回答済み: Gowthami 2023 年 1 月 16 日
Hi there, I encountered 'mixin' warning in the command window when I run my code. How do I solve this issue? Thanks.
-Chann-
  1 件のコメント
Rik
Rik 2023 年 1 月 14 日
The warning message tells you what to do. What is your question?

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

回答 (1 件)

Gowthami
Gowthami 2023 年 1 月 16 日
Hi Shin,
The class "matlab.system.mixin.SampleTime" seems to have been removed from the codebase in a previous release of MATLAB and was replaced by "matlab.System" class. Please make the appropriate changes in the code to inherit from "matlab.System" class to fix this warning.
More information on "matlab.System" can be found here: https://in.mathworks.com/help/matlab/ref/matlab.system-class.html
More information on "matlab.system.mixin.SampleTime" can be found here:

カテゴリ

Help Center および File ExchangeCreate System Objects についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by