Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

matlab and pic connection

Status
Not open for further replies.

large_ghostman

Well-Known Member
Most Helpful Member
hi ive been looking at video's of matlab as dad has access to it at the university where he has a lab none of the videos i have watched tell you if you can make a setup/program in matlab then create some kind of exe??? what i would like is for dad to do something in matlab for me but to then be able to bring it home so i can run it on my machine is this possiable or would i have to have matlab installed on my computer? as its too exspensive!!
 
what i would like is for dad to do something in matlab for me but to then be able to bring it home so i can run it on my machine is this possiable or would i have to have matlab installed on my computer? as its too exspensive!!

Sorry if I am not a big help, but I think you should ask your dad about what can be done since he would be doing all the work with the tools familiar to him. I believe you need some add-ons to matlab to do what you ask for, but I am not sure what kind. I found one tutorial online, but once again, I do not know if it is helpful because I do not know what kind of setup your dad has at his lab. https://onecore.net/howtocreate-standalone-executable-for-matlab-file.htm
 
Last edited:
dad dosnt it much but has access to it but i asked him tonight and he said he thinks you need a add on for mplab and it costs alot so i will have to just write a simple pc interface instead of a flashy one with dials :(
 
I'm not too sure about what you are asking but anyway...

You can compile Matlab programs and run them, you need the add-on Matlab compiler (https://www.mathworks.com/products/compiler/index.html), to compile the program, to run it on any machine you need to install the matlab runtime (it's a self-executable so no big problems in installing it (https://www.mathworks.com/products/compiler/mcr/index.html).

Code might need to be retouched in order to make it compile properly and there were some Matlab codes that couldn't be compiled, but this happened to me almost 4 years ago, so I guess now it should work perfectly for any Matlab code.

Good luck.
 
Last edited:
I'm not too sure about what you are asking but anyway...

You can compile Matlab programs and run them, you need the add-on Matlab compiler (https://www.mathworks.com/products/compiler/index.html), to compile the program, to run it on any machine you need to install the matlab runtime (it's a self-executable so no big problems in installing it (https://www.mathworks.com/products/compiler/mcr/index.html).

Code might need to be retouched in order to make it compile properly and there were some Matlab codes that couldn't be compiled, but this happened to me almost 4 years ago, so I guess now it should work perfectly for any Matlab code.

Good luck.


Thank you very much this is what i wanted to know :D
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top