Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

After making and creating the whole system in matlab can I put it into microprocessor to execute the specified written function and how?

user-image
Question ajoutée par Talal Mohammed Omar Bin Taleb , مدير الوحدة المحاسبية , مركز عدن للرصد والدراسات والتدريب
Date de publication: 2016/03/09
ibrahim alfar
par ibrahim alfar , QC-EHS manager , Waseela For Technology Consultation

speaking from experience Converting matlab M file or simulink model to embedded coder wont be efficient. thus the solution is simple create your M file code or simulink model and let Arduino controller works as your I/O unit so your PC will be the Microcontroller this is more efficient . follow this link for more information  (http://www.mathworks.com/hardware-support/arduino-matlab.html?refresh=true)

Vignesh Sr
par Vignesh Sr , research and development engineer , grptechnologies

after the verification of the functionality of the matlab design, we have to convert the matlab data flow system into a electronics design using circuit designing tools even after verification of the similar functionality equivalent to the expected working we have to decide first about WHICH family of micro-controller will perfectly suits for your design like number of ADC, DAC, PWM channels required, then we have to frame a functional frame, then we have to develop the CODE in c, after processing with suitable assembler or IDE tools we can generate a .HEX file which is a HEXADECIMAL bits, then with Relevant PROGRAMMER we need to LOAD the TARGET MICRO-CONTROLLER, after these process we need another functional verification with the developed HARDWARE, then we can see our perfect working of the MATLAB design with the hardware (with micro-controller).

Isvorya S
par Isvorya S , Intern , Indian Institute of Science(IISc)

Yes, we can very well put the matlab code into the microprocessor by changing the code into c language code. We can get the c code from matlab itself, then the rest is taken care by the compiler of the microprocessor.

asad habib
par asad habib , Project coordinator , Ucerd pvt ltd

YES.. WE CAN PUT INTO THE MICROPROSSER BY CHANGING INTO HEX.FILE

zubair bashir
par zubair bashir , Manager , Ministry of Defense

NO, MATLAB code cannot be executed directly in Microprocessor. We have to find the compiler for that particular Microprocessor (e.g. Code Composer for TI's Microprocessors ), which translate the code in C or any other high level language in to low level language and ultimately we have the out file which can be programmed in the memory interfaced with microprocessor.

Abdullah Zahid
par Abdullah Zahid , Testing and Commissioning Engineer , Mabran Al-Arabia Contracting

There is a tool in simulink which you can use to program your arduino micrcontroller. the newer version of MATLAB allows you to convert you MATLAB code to Embedded C code, but code conversion may not be always efficient.

Sohaib Usmani
par Sohaib Usmani , Intern , SCI Lab H-12 NUST Campus Islamabad.

You can use Matlab encoder to get C code. Then you compile it for any microcontroller 

yes, we can put it into MIcroprocessor by connecting it to I/O port and select that special port in MATLAB through programming for communication.

yes .. we will have to convert the program into hex file

Anuraj S
par Anuraj S , Jr.Embedded Engineer , Ronics Labz

Yes, by converting it into hex file.

Rafael G. Campos
par Rafael G. Campos , Full Professor of Mathematics and Physics , Universidad Michoacana de San Nicolas de Hidalgo

Yes. You have to put your code as an integrated physical circuit.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?