MATLAB: \lVert and \rVert are not rendered on ‘ (R2019b)’, Ubuntu 18.04


This line
xlabel('$\lVert x \rVert$', 'Interpreter', 'latex')
triggers this message
Warning: Error updating Text.
String scalar or character vector must have valid interpreter syntax:
$\lVert x \rVert$
and then label is rendered as "$\lVert x \rVert$", whithout the latex interpretation. \vert is rendered correctly.

Best Answer

Those are amsmath and that package is not included in MATLAB latex.