Skip to content

coder.internal.threeAddressIR

coder · scripts/+coder/+internal/threeAddressIR.m

THREEADDRESSIR  Lower a restricted .m function to three-address IR (nexus#1706)

  IR = coder.internal.threeAddressIR(FCN) converts a type-annotated
  restricted user function to a flat three-address IR (SSA-like).
  FCN is a function handle or function name character vector.

  IR is a scalar struct with fields:
    ok, name, params, returns, instructions, error_id, error_msg

  MATLAB Coder does not expose a public three-address IR API (R2026a).
  This is the Nexus codegen contract for nw codg-002; unsupported
  constructs raise emlc:compilationError, matching Coder's compile
  failure identifier.

  See also codegen, __nexus_codegen_ir__.