help-octave
[Top][All Lists]
Advanced

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

Re: Converting code


From: Sahil
Subject: Re: Converting code
Date: Sat, 20 Jan 2018 02:08:59 -0700 (MST)

SANKET SHARMA wrote
> How can I convert a C++ code to a Matlab script on my Ubuntu 16.04 using
> Octave?
> 
> Reply ASAP.
> 
> 
> 
> Regards,
> 
> *Sanket Sharma*
> *Research Scholar*
> *GLA University, Mathura*
> *India-281406*
> 
> _______________________________________________
> Help-octave mailing list

> Help-octave@

> https://lists.gnu.org/mailman/listinfo/help-octave



Sahil wrote
> Hello
> I don't think you can "convert" a C++ code into a MATLAB script. 
> You can, however, make use of the oct files [1] for a c++ code to be
> executed as an octave script.  
> Other than that, you may want to run a C++ code as a standalone executable
> [2] . This will dynamically link octave libraries to your C++ program so
> that any of the octave library functions can be used and you will have a
> standalone executable at the end.
> Note that both of these expect you to tweak your code a bit.
> 
> Best
> Sahil
> 
> [1]
> https://www.gnu.org/software/octave/doc/v4.0.3/Oct_002dFiles.html#Oct_002dFiles
> [2]
> https://www.gnu.org/software/octave/doc/v4.0.3/Standalone-Programs.html#Standalone-Programs





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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