Also works for me 

matlab-mode, version 3.3.4

>> version

ans =

9.0.0.341360 (R2016a)

>> f=inline('log(x)/(1̣+x)')
f=inline('log(x)/(1 +x)')

f =

     Inline function:
     f(x) = log(x)/(1 +x)

>> f(2)

ans =

    0.2310

>> 
Associate Prof. Ph.D Torben Knudsen    Mobile    : (+45) 2787 9826
Section of Automation and Control,
Department of Electronic Systems,    Email    : t...@es.aau.dk
Aalborg University              Web    : es.aau.dk/staff/tk
Fredrik Bajersvej 7
DK-9220 Aalborg Ø
Denmark

________________________________________
Fra: Uwe Brauer [o...@mat.ucm.es]
Sendt: 21. juni 2016 11:16
Til: matlab-emacs
Emne: [Matlab-emacs-discuss] bizarre behavior of shell and      
matlab-shell-run-command

Hi

I am running GNU emacs 25.1.5 and the latest matlab-mode version.
Matlab version is 2010 (a bit outdated I admit).


Could someone please try out the following.


Open a matlab shell and run

f=inline('log(x)/(1̣+x)')

My shell goes beserk, instead of showing an error it just spits out
empty lines. So I have to kill that buffer and the matlab process.

But it seems to be caused by the evil inline command.

If I open a matlab windows in my Linux box and type the command I get
the expected
f =

     Inline function:
     f(x) = log(x)/(1̣+x)

This is very odd.

Uwe Brauer

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to