Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Warning on Calling fortran code in Matlab2011a

5 vues (au cours des 30 derniers jours)
kopal1 arora
kopal1 arora le 26 Juin 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi, I am using Ubuntu12.04 version. I need to call a fortran code in Matlab11a. So, I tried working with an inbuilt fortran code(yprimef.F) first
>> mex yprimef.F
and it gives the following error/Warning:
Warning: You are using gcc version "4.6.3-1ubuntu5)". The version currently supported with MEX is "4.3.4". For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release/
And I am unable to install gcc-4.3 version. I tried "sudo apt-get install gcc-4.3" and it gives an error : $E: Package 'gcc-4.3' has no installation candidate
Any help in this regard is appreciated.

Réponses (2)

Nirmal
Nirmal le 26 Juin 2012
If I am not wrong, its just the warning. you might wanna try.
warning off;

Walter Roberson
Walter Roberson le 26 Juin 2012

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by