Defining Global Elements in the Default Project
Under some circumstances, the global elements (see Global Communication) are not updated properly in the default project. The following error message (MLm10) is displayed in the ASCET monitor window:
need export or mapping for imported element <name> with type <type>
To correct this error, proceed as follows:
In the block diagram editor, open the Extras menu, point to Default Project and select Resolve Globals to resolve the global elements.
For each imported global element without corresponding exported element in the component, an exported element is created in the default project.
Note
For each explicit reference among the imported global elements, Resolve Globals creates an exported reference in the default project. These exported references are not initialized; you have to initialize the exported references manually.
In the Extras menu, point to Default Project and select Delete Unused Globals to delete unused global elements in the default project.
You can now restart the experiment.
See also