Method and system for generating program code
AssigneedSPACE digital signal processing and control engineering GmbH
InventorsAndreas HOFFMANN, Wolfgang TRAUTMANN, Frank LUENSTROTH, Volker STRAETGEN
Life of this patent
Estimating the term…
Loading patent…
AssigneedSPACE digital signal processing and control engineering GmbH
InventorsAndreas HOFFMANN, Wolfgang TRAUTMANN, Frank LUENSTROTH, Volker STRAETGEN
Estimating the term…
A method for generating program code based on one or more blocks of a block diagram in a technical computing environment, an identifier being assigned to at least one, preferably each, of the one or more blocks of the block diagram. A processor opens the block diagram in the model editor, converts the block diagram to an intermediate representation using the code generator, wherein the conversion comprises checking if a replacement condition is fulfilled for a current block in the block diagram. Checking the replacement condition includes verifying that a predefined functional code unit is assigned to the identifier of the current block, in that case changing the block to a placeholder containing input/output-definitions but no functionality. The processor then converts the intermediate representation to program code, the conversion comprising adding a predefined functional code unit from the data definition tool to the definition code corresponding to the placeholder block.
A method for generating program code based on one or more blocks of a block diagram in a technical computing environment, an identifier being assigned to at least one or each of the one or more blocks of the block diagram, the technical computing environment comprising a model editor, a data definition tool and a code generator, the data definition tool comprising at least one functional code unit and a corresponding identifier, the technical computing environment being executed by at least one processor of a host computer, the method comprising:
A method for generating program code based on one or more blocks of a block diagram in a technical computing environment, an identifier being assigned to at least one or each of the one or more blocks of the block diagram, the technical computing environment comprising a model editor, a data definition tool and a code generator, the data definition tool comprising at least one functional code unit and a corresponding identifier, the technical computing environment being executed by at least one processor of a host computer, the method comprising:
A method for adapting an electronic control unit, the method being carried out by a processor of a host computer connected to the electronic control unit, the method comprising:
Dependencies are inferred from the claim text.