MATLAB: Substitute for Simulink.CustomSignal class

code generationrtwsimulinksimulink coder

While generating code for simulink models I received the following error
Warning: The Simulink.CustomSignal class is obsolete and will be removed in a future release. Please update your MATLAB code and resave MAT-files to stop creating objects of this class}
Is there a substitute for Simulink.CustomSignal class???

Best Answer

Simulink.Signal is equivalent to Simulink.CustomSignal.