help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing variables between octave processes on the same machine


From: Pavel Hofman
Subject: Re: Passing variables between octave processes on the same machine
Date: Sun, 20 Jan 2019 21:02:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Hi Andreas,

Dne 20. 01. 19 v 19:25 Andreas Weber napsal(a):
Am 20.01.19 um 18:35 schrieb Pavel Hofman:
Please does anyone have any experience with passing complete variables between two independent octave processes (not parent/child via popen)?

I had the same problem and wrote:
https://github.com/octave-de/macgyver_utils/blob/master/serialize.m

Great work, thank you. I will try it out. What is the license of your code?

But if you have the same octave and architecture on both sides you can just use "typecast" on simple datatypes.

For human readable exchange of complex structures you may use JSON as interexchange format:
https://github.com/Andy1978/octave-rapidjson

I would prefer an efficient binary way but very good to know, thanks.

With regards,

Pavel.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]