主要内容

solverprofiler.exploreResult

R2026b

Open solver profiling results in Solver Profiler

Description

solverprofiler.exploreResult(res) opens the solver profiling results res in the Solver Profiler. If the model associated with the results is not open or loaded, the function loads the model.

example

Examples

collapse all

Analyze the performance of the selected solver for a model named MyModel using the Solver Profiler. Then, open the profiling results in the Solver Profiler.

mdl = "MyModel";
res = solverprofiler.profileModel(mdl);
solverprofiler.exploreResult(res)

The Solver Profiler opens and displays the profiling results.

Input Arguments

collapse all

Solver profiling results, specified as one of these options:

  • Structure of profiling results returned by the solverprofiler.profileModel function

  • A string or a character vector that defines the path to the MAT file that contains the profiling results

Before R2026b: You must specify the path to a MAT file as a character vector.

Data Types: struct | char | string

Version History

Introduced in R2017b

expand all