Eric Ludlam <eric.ludlam-i5weco5ym8gakbo8gow...@public.gmane.org>
writes:

> Hi Qi,
>
> I don't know of a way to make matlab-shell work on Windows.  It might be
> possible to create something similar to Bob's old script that would work, but
> that is not something I'm familiar with.  Sorry.
>
> Eric
>
> -----Original Message-----
> From: Qi Sun [mailto:qisuntbs-re5jqeeqqe8avxtiumw...@public.gmane.org] 
> Sent: Tuesday, May 03, 2016 11:04 PM
> To: matlab-emacs 
> <matlab-emacs-discuss-5nwgofrqmnerv+lv9mx5uipxlwaov...@public.gmane.org>
> Subject: [Matlab-emacs-discuss] Emacs-Matlab Integration under Windows OS
>
> 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
> _______________________________________________
> Matlab-emacs-discuss mailing list
> matlab-emacs-discuss-5nwgofrqmnerv+lv9mx5uipxlwaov...@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss
>
> ------------------------------------------------------------------------------
> 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,

This is in response to mailing list messages:
https://sourceforge.net/p/matlab-emacs/mailman/message/35061925/ and
https://sourceforge.net/p/matlab-emacs/mailman/message/35063662/ , which
were posted before I subscribed to the list; I haven't found a way
to properly reply to them.


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