How to solve mixin warning issue

4 次查看(过去 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 CenterFile Exchange 中查找有关 Create System Objects 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by