Azzera filtri
Azzera filtri

How to use Matlab for latex output?

4 visualizzazioni (ultimi 30 giorni)
Shuping Ruan
Shuping Ruan il 17 Feb 2017
Commentato: Shuping Ruan il 17 Feb 2017
I tried this and got an error.
set(0, 'defaultTextInterpreter', 'latex');
Subscript indices must either be real positive integers or logicals.

Risposte (2)

dbmn
dbmn il 17 Feb 2017

Shuping Ruan
Shuping Ruan il 17 Feb 2017
After reading this link https://www.mathworks.com/matlabcentral/answers/65423-problem-with-subplot-error-using-subsindex , I realized that I had a variable named set somewhere else. set(0, 'defaultTextInterpreter', 'latex') works.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by