How to change the gcc version in matlab

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)

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

Asked:

on 28 Sep 2020

Answered:

on 28 Sep 2020

Community Treasure Hunt

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

Start Hunting!