-
公开(公告)号:US10310822B1
公开(公告)日:2019-06-04
申请号:US15827196
申请日:2017-11-30
Inventor: Renata Hein , Wolfgang Trautmann , Sebastian Hillebrand
Abstract: A method for simulating a program modeled as one or more blocks of a block diagram in a technical computing environment. A block diagram is opened in a model editor. Source code is generated for the one or more blocks of the block diagram using the code generator. The program is configured from the source code using a predefined compiler in order to generate a binary executable file, and the program is simulated, which comprises running at least one function in the auxiliary file in order to determine at least the width of a basic data type corresponding to the enumeration variable in the binary executable file, and allocating one or more variables based on the determined byte width in order to log the simulation results.
-
公开(公告)号:US10678537B1
公开(公告)日:2020-06-09
申请号:US15817856
申请日:2017-11-20
Inventor: Renata Hein , Fabian Mogge
Abstract: A method for generating a documentation of a program, the program being generated from one or more blocks of a block diagram in a technical computing environment, the one or more blocks of the program having at least one hierarchical block whose functionality is defined by a plurality of blocks in a subordinate hierarchical level of the block diagram. The method is carried out by a computer system having at least one processor, the processor opening the block diagram at a top hierarchical level in a model editor of the technical computing environment and verifying if a documentation condition is fulfilled for the current hierarchical level of the block diagram. When the documentation condition is fulfilled, the processor generates documentation text for the blocks in the current hierarchical level.
-
公开(公告)号:US11620112B2
公开(公告)日:2023-04-04
申请号:US17079003
申请日:2020-10-23
Inventor: Sebastian Moors , Renata Hein , Ulrich Eisemann
Abstract: According to the invention, simulation code and production code are generated as source code from a model. The model comprises one or more blocks which specify a desired behavior of a program, in particular a control program. At least one of the blocks is marked with a simulation code attribute. Simulation code is generated for those blocks that include a simulation code attribute. Production code is generated for all other blocks. The generated source code includes both simulation code and production code. The simulation code portions are contained in the source code in a separable manner from the production code portions.
-
-