Converting code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Converting code

SANKET SHARMA
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
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Converting code

Sahil
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

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Converting code

Francesco Potortì
In reply to this post by SANKET SHARMA
>How can I convert a C++ code to a Matlab script on my Ubuntu 16.04 using
>Octave?

Yuo rewrite it by hand.

--
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Converting code

Andreas Weber-6
In reply to this post by SANKET SHARMA
Am 20.01.2018 um 09:53 schrieb SANKET SHARMA:
> ...
> Reply ASAP.

What exactly do you think happens if you add this when writing to a
mailinglist?

-- Andy

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Converting code

karl
Am 20.01.2018 um 11:48 schrieb Andreas Weber:
> Am 20.01.2018 um 09:53 schrieb SANKET SHARMA:
>> ...
>> Reply ASAP.
> What exactly do you think happens if you add this when writing to a
> mailinglist?
>
> -- Andy
>
>
He expects that his orders are executed immediately. Maybe he is a Brahman

and therefore it might be normal for him.


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Converting code

OppaErich
ASAP

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Converting code

Francesco Potortì
In reply to this post by Francesco Potortì
>> >How can I convert a C++ code to a Matlab script on my Ubuntu 16.04 using
>> >Octave?
>>
>> Yuo rewrite it by hand.

>I am going to write it by hand. I asked you about is there any automation
>tool that saves time?

No, as far as I know...

By the way:

Please write to the list, not only to me.  I have added the list in
copy, so everyone else can read and the discussion can be archived.

Please put your answer below, not above, the text you are answering.

Please do not write "ASAP": it looks like you're giving an order, and
that's not nice :)

--
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave