How MatLab scripts are executed

5 ビュー (過去 30 日間)
Michal Izydorczyk
Michal Izydorczyk 2018 年 12 月 30 日
回答済み: Walter Roberson 2018 年 12 月 30 日
Hello,
How is MatLab executing scripts? I know that MatLab is using JIT Compiler but what is the way MatLab use bytecode afterwards?
  1 件のコメント
Rik
Rik 2018 年 12 月 30 日
There are two ways to get a complete answer to this question:
  • get a job at Mathworks
  • buy Matlab (or Mathworks)

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 12 月 30 日
MATLAB parses functions (and increasingly scripts too) into a threaded interpreted data structure . This is done for the entire file when execution of the file is requested . This data structure is cached.
As the interpreter follows the data structure during execution , it encounters uncompiled nodes and compiles them into machine language (e.g. x64 instructions ). The order of compilation is not specified.

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by