摘要:
A code verification tool verifies that code generated from a model represents all of the functionality of the model and does not contain any unintended functionality. The code verification tool may receive for examination a model or an intermediate representation (IR) of the model and the generated code or an intermediate representation of the generated code. The code verification tool may create further intermediate representations of the model and/or the generated code in order to compare the functionality presented in both.
摘要:
In one embodiment, a method of determining stack usage of at least a portion of a model for deployment on a target system is provided. The method may include obtaining information describing a first target system, and using the information to estimate a stack usage related to executing a representation of a component of the model on the first target system.
摘要:
In an embodiment, one or more computer readable media are provided. The media store executable instructions that when executed by processing logic implicitly change the value of a state in a graphical model while the model executes. The media store one or more instructions for identifying a context that includes a first block having a state and for executing the context when the state has a first value, the executing storing an intermediate result. The media store one or more instructions for changing, implicitly, the state from the first value to a second value based on a user input, where the changing occurs while the context is executing, or while the context is paused. The media store one or more instructions for executing the context when the state has the second value.
摘要:
A workflow manager that offers structure and control over the graphical modeling environment so that the graphical modeling environment is reconfigured in a manner appropriate for a particular workflow is disclosed. The workflow manager of the present invention provides hierarchical task management that is synchronized to the graphical modeling environment. The workflow manager also allows a model designer to navigate a series of steps required to achieve the goal of a particular workflow. An API allows the steps to be customized as required by the end user.
摘要:
A computer-implemented method for generating code based on a graphical model may include: translating the graphical model into a graphical model code, the graphical model code including a first graphical model code function; performing a lookup of the first graphical model code function in a hardware specific library, the hardware specific library comprising a plurality of relationships between graphical model code functions and hardware specific functions, where the first graphical model code function is one of the graphical model code functions; obtaining a matched hardware specific function based on the lookup, wherein the matched hardware specific function is one of the hardware specific functions from the hardware specific library; and modifying the graphical model code based on the matched hardware specific function.
摘要:
A computer-implemented method may include defining an input bus signal in a graphical block diagram model by associating the input bus signal with a first group of signals, at least two of the first group of signals having a different data type; defining an output bus signal in the graphical block diagram model by associating the second bus signal with a second group of signals, each of the second group of signals corresponding to one of the first group of signals; defining an input to a non-virtual operation block in the graphical block diagram model as the input bus signal; defining an output to the non-virtual operation block in the graphical block diagram as the output bus signal; and simulating an operation performed on the input bus signal by the non-virtual operation block, the operation being performed on each of the first group of signals and output to each of the second group of signals.
摘要:
A system may identify a workflow associated with a graphical model and execute the workflow in a number of stages. The system may display a number of components of the graphical model and identify which of the displayed components are associated with or affected by execution of a current one of the stages of the workflow.
摘要:
A workflow manager that offers structure and control over the graphical modeling environment so that the graphical modeling environment is reconfigured in a manner appropriate for a particular workflow is disclosed. The workflow manager of the present invention provides hierarchical task management that is synchronized to the graphical modeling environment. The workflow manager also allows a model designer to navigate a series of steps required to achieve the goal of a particular workflow. An API allows the steps to be customized as required by the end user.
摘要:
Graphical programming or modeling environments in which a coding standard can be applied to graphical programs or models are disclosed. The present invention provides mechanisms for applying the coding standard to graphical programs/models in the graphical programming/modeling environments. The mechanisms may detect violations of the coding standard in the graphical model and report such violations to the users. The mechanisms may automatically correct the graphical model to remove the violations from the graphical model. The mechanisms may also automatically avoid the violations in the simulation and/or code generation of the graphical model.
摘要:
A method of specifying and configuring a causal relationship between the dynamics of a graphical model and the execution of components of the model is disclosed. Model component execution is tied to the occurrence of model events. Model events are first defined in the modeling environment. The occurrence of conditions in the model specified in the definition of the event causes the event to be “posted”. Model components that have been associated with the occurrence of the event “receive” the notice of the posting of the event and then execute. Random components within a subsystem may be designated to execute upon the occurrence of an event, as may non-contiguous components within a model. The association between model events and component execution may be specified without drawing graphical indicators connecting components in the view of the model.