Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Structure Operations Allowed for Code Generation

To generate efficient standalone code for MATLAB® structures, you are restricted to the following operations:

  • Define structures as local and persistent variables by assignment and using the struct function

  • Index structure fields using dot notation

  • Define primary function inputs as structures

  • Pass structures to local functions

Was this topic helpful?