How to solve mixin warning issue

Hi there, I encountered 'mixin' warning in the command window when I run my code. How do I solve this issue? Thanks.
-Chann-

1 Kommentar

Rik
Rik am 14 Jan. 2023
The warning message tells you what to do. What is your question?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Gowthami
Gowthami am 16 Jan. 2023

1 Stimme

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:

Kategorien

Mehr zu Create System Objects finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022b

Tags

Gefragt:

am 14 Jan. 2023

Beantwortet:

am 16 Jan. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by