Clear Filters
Clear Filters

How to use Matlab for latex output?

4 views (last 30 days)
Shuping Ruan
Shuping Ruan on 17 Feb 2017
Commented: Shuping Ruan on 17 Feb 2017
I tried this and got an error.
set(0, 'defaultTextInterpreter', 'latex');
Subscript indices must either be real positive integers or logicals.

Answers (2)

dbmn
dbmn on 17 Feb 2017

Shuping Ruan
Shuping Ruan on 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.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!