> On 22.04.2024 14:52, Uwe Brauer wrote: ----> 2 fprintf('|%d', x)
> Well... > 1. After installing matlab-support you should be able to Matlab from > bash by typing the command Well, I am on tcsh, but this is not the point. > Can you do that? Yes I can, but mainly because during installation Matlab asks me to set a symbolic link to /usr/local/bin So that is why which matlab Return /usr/local/bin/matlab > a) if yes > Can you evoke matlab-shell in Emacs? (M-x matlab-shell) > Again, you should be able to do that after installing matlab-mode. Of course, I am using the matlab-shell very often, but from a matlab file (.m) What I want to do is, to calculate 1. Matlab commands from an org buffer 2. And insert the result in that buffer. > b) if no: > check what are the values of the variables: > `matlab-shell-command` and `matlab-shell-command-switches` > In my case they are equal: `matlab` and ("-nodesktop"), > respectively, which is by default set in `matlab-shell.el` which is a > part of matlab-mode package. So it is in mine. Again, I use the matlab-shell very often but from .m files. I think I will start emacs -Q and load you configuration+minimal matlab conf and see what happens. I find in strange that in our case fprintf does not work. It works for me in the matlab-shell and using my (complicated) python engine solution Uwe -- I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel I strongly condemn Putin's war of aggression against Ukraine. I support to deliver weapons to Ukraine's military. I support the EU and NATO membership of Ukraine.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Matlab-emacs-discuss mailing list Matlab-emacs-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss