Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

building .exe format from matlab

My m file is:

   x=0:0.01:2*pi;
   y=sin(x);
   plot(x,y)

I want build this program by .exe format. I want run this .exe in a computer that doesn't have matlab.

like image 788
Elyas Mohajeri Avatar asked Jan 23 '23 04:01

Elyas Mohajeri


2 Answers

Matlab offers a commercial product for this purpose.

like image 84
Marcelo Cantos Avatar answered Jan 30 '23 08:01

Marcelo Cantos


As mentioned by Marcelo there is no free solution for your exact problem.

But for your very simple program you could for example use Python with matplotlib to solve the problem and to generate an executable (you will have to include some python dlls as well). It will absolutely suffice and won't be significantly harder to write for your tiny program.

like image 31
ravvy Avatar answered Jan 30 '23 07:01

ravvy