Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

accelerate

Class: SimBiology.export.Model

Prepare exported SimBiology model for acceleration

Syntax

accelerate(model)

Description

accelerate(model) prepares the exported model for acceleration on the current type of computer.

    Note:   Microsoft® Visual Studio® 2010 run-time libraries must be available on any computer running accelerated models generated using Microsoft Windows® SDK. If you plan to redistribute your accelerated models to other MATLAB® users, be sure they have the run-time libraries.

Input Arguments

model

SimBiology.export.Model object.

Examples

expand all

Load a sample SimBiology model object, and export.

modelObj = sbmlimport('lotka');
em = export(modelObj)
em = 

  Model with properties:

           Name: 'lotka'
     ExportTime: '24-Feb-2017 12:01:01'
    ExportNotes: ''

Accelerate the exported model.

accelerate(em);
em.isAccelerated
ans =

  logical

   1

The logical value 1 indicates that the exported model is accelerated.

Was this topic helpful?