How to include a Latex package for MATLAB Latex Interpreter to use?

21 views (last 30 days)
Hello,
I am new to MATLAB and I would like to be able to print Cyrillic text and Latex formulas in a plot title:
title('График зависности $\varphi(t)$','Interpreter', 'latex')
However, the following warning appears and the title doesn't print correctly:
String scalar or character vector must have valid interpreter syntax:
График зависности $\varphi(t)$
Is there an easy way to fix this problem? Usually, when using Latex I would just add \usepackage[OT2]{fontenc} to preamble and then the text that I type in Latin alphabet in .tex file would be displayed as Cyrillic in the .pdf, with each Cyrillic character having its Latin representation.
Thank you in advance. I am using MATLAB as a student.

Accepted Answer

Walter Roberson
Walter Roberson on 27 May 2022
There is no known way to do this for the last several years, with the exception that it is potentially possible for Report Generator

More Answers (0)

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!