Qi Sun <qisuntbs@...> writes:

> 
> Dear all,
> 
> I have to switch to the Windows OS at work place while still thinking on
integrating Matlab to Emacs.
> However, the Windows version matlab does not provide matlabshell at all.
The -nodesktop option just pops
> up an isolated command window.
> 
> There was a solution created by Bob Morris from U of Massachusetts Boston.
But it's way out of date right now I
> can't even recompile with the mex function. Is there anyone else facing
similar situation as I do?
> 
> Thank you for any further suggestions or help!
> 
> Best, 
> Qi Sun
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> 


Hi,

I got my windows setup working by following the emacswiki instructions:
https://www.emacswiki.org/emacs/MatlabMode#toc3.

More specifically:

- Clone the github repository for matlabShell:
  https://github.com/mlt/matlabShell
- Build matlabShell
  - I used the intel compiler, but it should also work with the visual
    studio compiler or others
  - Setup the compilation environment:
    - "%ICPP_COMPILER16%"\bin\compilervars.bat intel64 vs2013" (this may differ
      depending on your setup)
    - For Visual Studio, the setup script is (for me) "c:\Program Files
      (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
  - Setup include/library folders
    - set INCLUDE=%INCLUDE%;c:\MATLAB\R2007a\extern\include\ (folder containing
      engine.h)
    - set LIB=%LIB%;c:\MATLAB\R2007a\extern\lib\win64\microsoft\ (folder
      containing libeng.lib)
  - Build: "icl matlabShell.c /link libeng.lib" (cl for visual studio?)
  - This builds matlabShell.exe
- Setup the emacs configuration as described in the github page

Things mostly worked afterwards, I had some issues with tab completion, for
which I had a workaround which I can provide if needed.



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to