Editing a Component in a Project

It is possible to open the appropriate editor and edit any component that is part of a project from within the project editor. Editing a component from within a project has the same effect as editing it from the Component Manager, namely that the functional description is changed which affects all the instances of the component.

When you open a specification editor from within the project editor, the current project properties become active in the specification editor. If, for instance, the current project is set to fixed-point code generation, the component editor will also be set to fixed-point code generation. Only floating-point code generation is available if the specification editor is started from the Component Manager.

  1. In the Outline tab of the project editor, select the component you want to edit.
  2. Do one of the following:

    • Double-click the component name.

    • In the Edit menu,select Open Component.

    • Press <Return>.

    The editor opens for the component you want to edit.

It is possible to edit the data and implementation of elements within a project, and to read and write data to and from them. All the commands work in the same way as in the block diagram editor.