Difference between revisions of "Problems and Solutions (FAQ)"
(username removed) |
(→Parameter Files) |
You cannot view this diff because one of the revisions has been deleted.
(username removed) |
(→Parameter Files) |
You cannot view this diff because one of the revisions has been deleted.
This page is dedicated to problems which have occurred during the first stages of using SIMarchitect and their possible solutions. This page will be updated as development continues.
This chapter will list frequently occurring problems with Parameter Files and their solutions.
Parameter files:
Problem: SIMarchitect returns an error loading the parameterfiles. (Shown below)
Solution: There is an error in the parameterfile code. Check the code inside the MATLAB editor. The Command Windows or Diagnostics Viewer may show more information about the source of the error.
Problem: One of the defined parameters is not being read in SIMarchitect.
Solution: Some functions are not usable within parameterfiles. Run the parameterfile separately inside MATLAB and check the desired value is created in workspace. If not, the definition of the parameter is incorrect.
This chapter will list frequently occurring problems with Bus signals and their solutions.
The following is valid for the 'Module' sub-components. This type of component is seen below.
Bus Signals:
To dimension signals properly in a demux block, follow the steps below. This is only applicable when signals with a dimension larger than 1 are used.
The figure below shows the properties of a demux where the first signal has dimension 1 and the second signal a dimension 2. The dimensions are to be defined using an array of the sizes. For this figure, this is [1,2].
This method is applicable to all dimensions and sizing. If this step is not taken for multi-dimensional signals, the dimensions will, most likely, be misplaced and the results will be incorrect.
The following is valid for the 'Area' sub-components. This type of component is seen below.
Bus Signals:
The structure of SIMarchitect uses 'goto' and 'from' tags to distribute information within the model. Things to remember about these tags:
This chapter contains other problems that users may encounter and their solutions.
Problem: MATLAB crashes when a block is copied and pasted.
Solution: Copy and paste only the component and not the 'Goto' and 'From' blocks connected to the module. So, only the blue area must be copied.
Problem: Plotting graphs using an alternative x-axis to time in the Results Plot GUI.
Solution: The standard x-axis for the Results Plot GUI is time. To change this, check the 'select x-vectors' box and select the desired x-axis value with the corresponding y-axis value.