Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OT] da matlab a c++
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Tue Feb 20, 2007 8:56 am    Post subject: [OT] da matlab a c++ Reply with quote

ciao
avrei la necessita' di utilizzare programmini scritti in matlab (di cui non so nulla) in una applicazione che matlab non e' (java o c++)
Avete dei suggerimenti del tipo
1) conosco un tool che genera il codice c/c++ ed e' naturalmente open source
2) imparati il matlab e traduci in C
3) altro

grazie a tutti ciao
Back to top
View user's profile Send private message
Dece
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 291
Location: Bologna/Rimini Italy

PostPosted: Tue Feb 20, 2007 9:21 am    Post subject: Re: [OT] da matlab a c++ Reply with quote

So che è possibile fare il contrario, ovvero chiamare codice scritto in C dall'interno di matlab, scrivendo le funzioni con una signature particolare e compilandolo con un compilatore interno a matlab, mi sembra si chiamasse "mex" o qualcosa del genere.

Per quello che vuoi fare non so se esistono tool che autogenerano il codice a partire da matlab... se i programmi matlab che vuoi utilizzare non sono troppo complicati forse ti conviene reimplementarli nel linguaggio che preferisci...
_________________
http://www.last.fm/user/Dece/
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Feb 20, 2007 9:30 am    Post subject: Re: [OT] da matlab a c++ Reply with quote

lopio wrote:
3) altro


prova gli script in questione con octave e, se tutto va bene, dai una lettura a questa pagina (che é comunque molto work in progress...).
_________________
Ciao da me!
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Tue Feb 20, 2007 7:22 pm    Post subject: Reply with quote

ciao
grazie dell'aiuto
Provero' a seguire i suggerimenti :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum