Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7219
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder5.news.weretis.net!feeder1.news.weretis.net!news-peer.in.tum.de!news.belwue.de!rz.uni-karlsruhe.de!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail |
|---|---|
| From | Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> |
| Newsgroups | comp.lang.python |
| Subject | Re: Call python function from Matlab |
| Date | Wed, 08 Jun 2011 09:33:19 +0200 |
| Organization | A newly installed InterNetNews server |
| Message-ID | <isn8ka$ik0$1@r03.glglgl.eu> (permalink) |
| References | <659556b7-bd7d-415e-919e-e5e8260b6f70@j28g2000vbp.googlegroups.com> <isn7qt$dgu$1@polsl.pl> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-15; format=flowed |
| Content-Transfer-Encoding | 7bit |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 Hamster/2.1.0.11 |
| In-Reply-To | <isn7qt$dgu$1@polsl.pl> |
| Lines | 22 |
| NNTP-Posting-Date | 08 Jun 2011 09:40:02 CEST |
| NNTP-Posting-Host | cfcbaf35.newsspool3.arcor-online.net |
| X-Trace | DXC=1i8nKR^R\Y[5TOT9_N5i<VMcF=Q^Z^V3X4Fo<]lROoRQ8kF<OcfhCO[XcM\@59`CYWK8FCa6^2FWROLF_]FfFg8_H;9RHb\jYb^ |
| X-Complaints-To | usenet-abuse@arcor.de |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:7219 |
Show key headers only | View raw
Am 08.06.2011 09:19 schrieb Adam Przybyla: > nazmul.islam@gmail.com<nazmul.islam@gmail.com> wrote: >> I need to call a python function from a Matlab environment. Is it >> possible? >> >> Let's assume, I have the following python code: >> >> def squared(x): >> y = x * x >> return y >> >> I want to call squared(3) from Matlab workspace/code and get 9. >> >> Thanks for your feedback. > ... try this: http://pypi.python.org/pypi/pymatlab Thank you for the link, looks interesting for me. But AFAICT, the OP wants the other direction. Thomas
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Call python function from Matlab "nazmul.islam@gmail.com" <nazmul.islam@gmail.com> - 2011-06-07 22:12 -0700
Re: Call python function from Matlab Adam Przybyla <adam@rybnik.pl> - 2011-06-08 07:19 +0000
Re: Call python function from Matlab Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-06-08 09:33 +0200
Re: Call python function from Matlab Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-06-08 09:29 +0200
csiph-web