help-octave
[Top][All Lists]
Advanced

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

How to return variables from oct-file commands?


From: Lukas Reichlin
Subject: How to return variables from oct-file commands?
Date: Sat, 17 Aug 2013 16:36:34 +0200

Dear Octave Community

How can I create variables from a command (written as a C++ oct-file) without 
specifying a left-hand-side? Instead of

        [a, b, c] = syms ("a", "b", "c")

I wish to write

        syms a b c

where command "syms" should create/return the variables a, b and c in the 
current workspace. Do you know an Octave command which could serve as a code 
example?

Thanks for any hints and best regards
Lukas



reply via email to

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