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.
Matlab offers a commercial product for this purpose.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With