How to change the gcc version in matlab

11 views (last 30 days)
sri harsha
sri harsha on 28 Sep 2020
Answered: Sudhakar Shinde on 28 Sep 2020
hello i am using ubuntu os , i need gcc 4.8 for my project so i installed it
but my matlab is still recognizing gcc-7.5.0 itself
so how can i setup my matlab to use older version of gcc-4.8

Answers (1)

Sudhakar Shinde
Sudhakar Shinde on 28 Sep 2020
If you would like to change installed compiler:
type on command window:
mex -setup
installed compiler options will be displayed on command window:
click on option and matlab will configure you to selected compiler.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!