Workspace variable ans cc4m_logo_inline

TitleDo not use the workspace variable ans.
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.


function out = get_value(in)
3 + 3;

out = ans + in;

Instead use:

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

out = var1 + in;