Workspace variable ans cc4m_logo_inline

IDSTAT-22
TitleDo not use the workspace variable ans.
PriorityMandatory
Severity level3
DescriptionDo not use the workspace variable ans since this might lead to undesired behavior.
RationaleUse of the workspace variable ans reduces the robustness and security of the code.

Avoid:

function out = get_value(in)
3 + 3;

out = ans + in;

Instead use:

function out = get_value(in)
var1 = 3 + 3;

out = var1 + in;