ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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
تم إضافة السؤال من قبل Talal Mohammed Omar Bin Taleb , مدير الوحدة المحاسبية , مركز عدن للرصد والدراسات والتدريب
تاريخ النشر: 2016/03/09
ibrahim alfar
من قبل ibrahim alfar , Electromechanical Team leader , 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
من قبل 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
من قبل 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
من قبل asad habib , Project coordinator , Ucerd pvt ltd

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

zubair bashir
من قبل 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
من قبل 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
من قبل 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.

Muhammad Shafiq
من قبل Muhammad Shafiq

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

Anuraj S
من قبل Anuraj S , Jr.Embedded Engineer , Ronics Labz

Yes, by converting it into hex file.

Rafael G. Campos
من قبل 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.

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟