Documentation Center

  • Trial Software
  • Product Updates

Fixed-Point Advisor

Fixed-Point Advisor Overview

The Fixed-Point Advisor is a tool you can use to prepare your model for conversion from floating-point data types to fixed-point data types. The Fixed-Point Advisor also makes recommendations for a model, such as model-level diagnostic settings and removal of inheritance rules. It configures the model for autoscaling by the Fixed-Point Tool. Therefore, even if your model uses only fixed-point data types, it is useful to run the Fixed-Point Advisor on the model prior to autoscaling.

The Fixed-Point Advisor performs checks on the entire model reference hierarchy. It checks the top model and referenced models against fixed-point guidelines and reports results for each referenced model.

Description

Use the Fixed-Point Advisor to:

  • Set model-wide configuration options.

  • Set block-specific dialog parameters.

  • Check for unsupported blocks.

Procedures

Automatically Run Tasks.  The following steps list how you can automatically run all tasks within a folder.

  1. Click the Run to Failure button. The tasks run in order until a task fails.

  2. Fix the failure:

    • Manually fix the problem using the Explore Result button, if present.

    • Manually fix the problem by modifying the model as instructed in the Analysis Result box.

    • Automatically fix the problem using the Modify All button, if available.

  3. Continue the run to failure by selecting Run > Continue.

Run Individual Tasks.  The following steps list how you can run an individual task.

  1. Specify Input Parameters, if present.

  2. Run the task by clicking Run This Task.

  3. Review Results. The possible results are:

    Pass: Move on to the next task.
    Warning: Review results, decide whether to move on or fix.
    Fail: Review results, do not move on without fixing.
  4. If Status is Warning or Fail, you can:

    • Manually fix the problem using the Explore Result button, if present.

    • Manually fix the problem by modifying the model.

    • Automatically fix the problem using the Modify All button, if available.

  5. Once you have fixed a Warning or Failed task, rerun the task by clicking Run This Task.

Run to Selected Task.  If you know that a particular task causes a failure, you might want to run all the tasks prior to this task and save a restore point before continuing the run. For more information about restore points, see Save a Restore Point. To run all tasks up to and including the currently selected task:

  1. Select the last task that you want to run.

  2. Right click this task to open the context menu.

  3. From the context menu, select Run to Selected Task to run all tasks up to and including the selected task.

    Note:   If a task before the selected task fails, the Fixed-Point Advisor stops the run at the failed task.

Rerun a Task.  You might want to rerun a task to see if changes you make result in a different answer. To rerun a task that you have run before:

  1. Select the task that you want to rerun.

  2. Specify input parameters, if present.

  3. Run the task by clicking Run This Task.

    The task reruns.

      Caution   All downstream tasks are reset to Not Run if:

      • The task fails.

      • You click the Modify All button.

View a Run Summary.  To view a complete run summary of Pass, Failed, Warning, and Not Run tasks:

  1. Select the Fixed-Point Advisor folder.

  2. Click the path link listed for Report. A report containing a summary of all tasks is displayed.

See Also

Was this topic helpful?