code: def test_m_results_matrix_named_ordered():
      B, C = symbols("B,C")
      A = MatrixSymbol("A", 1, 3)
      expr1 = Equality(C, (x + y) * z)
      expr2 = Equality(A, Matrix([[1, 2, x]]))
      expr3 = Equality(B, 2 * x)
      name_expr = ("test", [expr1, expr2, expr3])
      (result,) = codegen(
          name_expr,
          "Octave",
          header=False,
          empty=False,
          argument_sequence=(x, z, y),
      )
      source = result[1]
      expected = (
          "function [C, A, B] = test(x, z, y)\n"
          "  C = z.*(x + y);\n"
          "  A = [1 2 x];\n"
          "  B = 2*x;\n"
          "end\n"
      )
      assert source == expected
  
imports: from io import StringIO
  from sympy.core import S, symbols, Eq, pi, Catalan, EulerGamma, Function
  from sympy.core.relational import Equality
  from sympy.functions.elementary.piecewise import Piecewise
  from sympy.matrices import Matrix, MatrixSymbol
  from sympy.utilities.codegen import OctaveCodeGen, codegen, make_routine
  from sympy.testing.pytest import raises
  from sympy.testing.pytest import XFAIL
  import sympy
label_desc: Use image node_id 22 for calling a global function with example usage: test_m_results_matrix_named_ordered() without return types