How to export data from MATLAB to machine language

조회 수: 1 (최근 30일)
Judith Amulen
Judith Amulen 2011년 4월 18일
hey i have just finished writing a code in matlab to run certain machine. how do i export the code from matlab to a language that can be read and executed by any machine?

답변 (2개)

Paulo Silva
Paulo Silva 2011년 4월 18일
deploytool %it will only work if you have the required toolboxes
  댓글 수: 11
Kaustubha Govind
Kaustubha Govind 2011년 5월 3일
Sorry. Can't think of anything else other than re-implementing. :(
Jiro Doke
Jiro Doke 2011년 5월 3일
The original answer by Paulo is probably the best choice here. Either use "deploytool" with MATLAB Compiler product or re-implement everything yourself in another language.

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2011년 4월 18일
The closest you can get to what you actually asked would be to convert the program to a Turing Machine; then to use it on any machine, it would only be necessary to write the appropriate Universal Turing Machine shim appropriate to the Turing Machine implementation on that machine.
Unfortunately, embedded systems often have enough resource restrictions that they would not reasonably be classified as Turing Complete. You are very unlikely to be able to fit your image processing program in to your toaster, for example, and if you did then the "input" to the toaster would probably have to be encoded in moisture levels of the pieces of bread.
Possibly you might be able to get the program to fit on your Digital Watch With The Special Snooze Alarm, but it might be hard to find one of those that still works.
  댓글 수: 6
Judith Amulen
Judith Amulen 2011년 5월 3일
A software written in c# is controlling the motion table.
Jiro Doke
Jiro Doke 2011년 5월 3일
Is that a standalone compiled application? Or do you actually have the C# source code that you can modify and integrate your MATLAB application? If it's a standalone, does it provide some kind of API that you can call from outside to send command to the motion table? If it provides some shared library, then you can incorporate that into your MATLAB program (using "loadlibrary") and then compile your application using MATLAB Compiler.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simultaneous and Synchronized Operations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by