octave-maintainers
[Top][All Lists]
Advanced

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

How to instantiate a user-class from octfile?


From: Colin Macdonald
Subject: How to instantiate a user-class from octfile?
Date: Thu, 19 May 2016 23:47:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

Hi all,

Suppose I have an m-file classdef "Myclass" which I can instantiate using:

x = Myclass("hello")

How would I make `x` within an oct-file (in C++)?

thanks,
Colin



reply via email to

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