View Full Version : تنظیمات مربوط به کامپایلر ++C/C
goldpower
پنج شنبه 07 آذر 1392, 23:37 عصر
از نسخه Matlab R2012a استفاده می کنم ( ویندوز سون 64 بیتی )
موقع اجرا فایل با این مشکل برخورد کردم:
Error: Could not detect a compiler on local system
which can compile the specified input file(s)
WARNING: Unable to compile mex files required by foreground highlighting, please switch it off by setting the use_fg_high field in parsing parameters to false, or try again with a different compiler
چه طور باید کامپایلر ++C به برنامه matlab اضافه کنم ؟
Imaaan
جمعه 08 آذر 1392, 01:35 صبح
سلام
توضیحات لینک زیر فکر کنم بد نباشه:
اجرای فایل های mex (http://mathworks.ir/forum/-matlab/9159----mex---64-)
goldpower
جمعه 08 آذر 1392, 21:39 عصر
113345
دوستان برای کانفیگ کامپایلر مطلب از روش زیر استفاده کنید:
ابتدا دستور زیرو اجرا کنید :
% Setup compiler
mex -setup
سپس پیغام زیر مشاهده می شود :
Welcome to mex -setup. This utility will help you set up
a default compiler. For a list of supported compilers, see
http://www.mathworks.com/support/compilers/R2012a/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n?
با زدن کلید N مقادیر زیر ظاهر شده و شماره ان را انتخاب می کنید و به صورت پیش فرض انتخاب می شود :
Select a compiler:
[1] Intel C++ 12.0 (with Microsoft Software Development Kit (SDK) linker)
[2] Intel C++ 12.0 (with Microsoft Visual C++ 2008 SP1 linker)
[3] Intel C++ 12.0 (with Microsoft Visual C++ 2010 linker)
[4] Intel C++ 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[5] Intel Visual Fortran 12 (with Microsoft Software Development Kit (SDK) linker)
[6] Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2008 SP1 linker)
[7] Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2008 Shell linker)
[8] Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2010 linker)
[9] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[10] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 Shell linker)
[11] Microsoft Software Development Kit (SDK) 7.1
[12] Microsoft Visual C++ 2005 SP1
[13] Microsoft Visual C++ 2008 SP1
[14] Microsoft Visual C++ 2010
[0] None
Compiler:
که در اینجا با انتخاب شماره 14 به شکل زیر در می اید .
Compiler: 14
Warning: The default location for Microsoft Visual C++ 2010 compiler is:
"C:\Program Files (x86)\Microsoft Visual Studio 10.0"
but either that directory does not exist or the configuration
is invalid.
Use C:\Program Files (x86)\Microsoft Visual Studio 10.0 anyway [y]/n?
که با تایید ان نصب می شود.
matcode.ir
شنبه 07 دی 1392, 13:42 عصر
سلام به دوستان عزیز برای اینکه بتونید پاسخ سوالات خودتون رو در مورد متلب بدست بیارید کافی که به این سایت مراجعه کنید یه منبع کامل از مقاله ها و پروژه ها به زبان فارسیه
http://www.matcode.ir
vBulletin® v4.2.5, Copyright ©2000-1403, Jelsoft Enterprises Ltd.