From: Lizzy on 22 Mar 2010 19:07 Hello everybody, I am trying to install HSPICE toolbox and i am using windows seven. Referring to the setup manual, it mentioned that : Platform Compatibility All files should work across different computer platforms, though the loadsig mexfile may need to be recompiled. It is currently compiled for Sun, Redhat Linux, and Windows 2000/Xp machines. To compile the loadsig function for a different platform, go to the directory containing loadsig.c within Matlab, and then type mex loadsig.c within Matlab. but when I type <mex loadsig.c> in the command window i got this message : ///////////////////////////////////////////////////////////////////////////////////////////// Select a compiler: [0] None Compiler: /////////////////////////////////////////////////////////////////////////////////////////////// and when i enter a <zero>, it gives me : ///////////////////////////////////////////////////////////////////////////////////////////// mex: No compiler selected. No action taken. ************************************************************************** Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/support/solutions/data/1-5C27B9.html?solution=1-5C27B9 Building with the -largeArrayDims option enables the new API. ************************************************************************** C:\PROGRA~1\MATLAB\R2009B\BIN\MEX.PL: Error: No compiler options file could be found to compile source code. Please run "mex -setup" to rectify. ??? Error using ==> mex at 221 Unable to complete successfully. /////////////////////////////////////////////////////////////////////////////////////////////////////// so any ideas how to fix this problem ?
From: Wayne King on 22 Mar 2010 19:47 "Lizzy " <lizzy.conquer(a)gmail.com> wrote in message <ho8t7a$ifk$1(a)fred.mathworks.com>... > Hello everybody, I am trying to install HSPICE toolbox and i am using windows seven. Referring to the setup manual, it mentioned that : > > Platform Compatibility > All files should work across different computer platforms, though the loadsig mexfile may > need to be recompiled. It is currently compiled for Sun, Redhat Linux, and Windows > 2000/Xp machines. To compile the loadsig function for a different platform, go to the > directory containing loadsig.c within Matlab, and then type mex loadsig.c within Matlab. > > > but when I type <mex loadsig.c> in the command window i got this message : > > ///////////////////////////////////////////////////////////////////////////////////////////// > > Select a compiler: > > [0] None > > Compiler: > > /////////////////////////////////////////////////////////////////////////////////////////////// > > and when i enter a <zero>, it gives me : > > ///////////////////////////////////////////////////////////////////////////////////////////// > > mex: No compiler selected. No action taken. > > ************************************************************************** > Warning: The MATLAB C and Fortran API has changed to support MATLAB > variables with more than 2^32-1 elements. In the near future > you will be required to update your code to utilize the new > API. You can find more information about this at: > http://www.mathworks.com/support/solutions/data/1-5C27B9.html?solution=1-5C27B9 > Building with the -largeArrayDims option enables the new API. > ************************************************************************** > > > C:\PROGRA~1\MATLAB\R2009B\BIN\MEX.PL: Error: No compiler options file could be found to compile source code. Please run "mex -setup" to rectify. > > ??? Error using ==> mex at 221 > Unable to complete successfully. > > /////////////////////////////////////////////////////////////////////////////////////////////////////// > > > > so any ideas how to fix this problem ? Hi Lizzy, did you actually run mex -setup? If you run mex -setup, you should be prompted by Matlab to locate compilers. Since you are using Windows, there should be a lcc compiler that ships with Matlab. If you enter >>cd(matlabroot) at the command prompt and then >>cd sys\lcc does that work? in other words do you have at least have a sys\lcc directory in your installation? If running mex -setup doesn't locate any compilers (which is what your output above indicates, but I couldn't understand if you actually ran mex -setup), you'll probably have to contact either your local admin, if you are not the Matlab admin for your installation, or Mathworks technical support directly. It may be a Windows 7 and R2009b issue, not sure. Wayne
From: Steven Lord on 23 Mar 2010 13:53 "Lizzy " <lizzy.conquer(a)gmail.com> wrote in message news:ho8t7a$ifk$1(a)fred.mathworks.com... > Hello everybody, I am trying to install HSPICE toolbox and i am using > windows seven. Referring to the setup manual, it mentioned that : > Platform Compatibility > All files should work across different computer platforms, though the > loadsig mexfile may > need to be recompiled. It is currently compiled for Sun, Redhat Linux, and > Windows > 2000/Xp machines. To compile the loadsig function for a different > platform, go to the > directory containing loadsig.c within Matlab, and then type mex loadsig.c > within Matlab. > > > but when I type <mex loadsig.c> in the command window i got this message : > > ///////////////////////////////////////////////////////////////////////////////////////////// > > Select a compiler: > [0] None > Compiler: That suggests to me that you're running a 64-bit version of MATLAB, in which case you will need to obtain a compiler to MEX the MEX-files. The following are supported for release R2009b (which the error message you quoted below suggested you were using) -- scroll down to the 64-bit Windows section to locate an appropriate compiler. http://www.mathworks.com/support/compilers/R2009b/ Don't forget to read the document linked in the footnote. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
Pages: 1 Prev: Control PCI board form MATLAB Next: undefined variable error message |