スケーラブルなコンパイル
スケーラブルなコンパイルは、伝送線路やバッテリー パックなど繰り返しコンポーネントのパターンで構成されるモデルについて、繰り返しコンポーネントを 1 回コンパイルしてから、同じコンポーネントの他のインスタンスにこれらのコンパイルを再利用するため、コンパイル時間の短縮に役立ちます。スケーラブルなコンパイルはコンパイルのパフォーマンスを向上させます。モデルのシミュレーション時間は短縮しません。
トピック
- スケーラブルなコンパイルについて
スケーラブルなコンパイルのメリットが得られる一般的なワークフローとモデルのタイプ。
- スケーラブルなコンパイルに向けたモデルの準備
この例では、スケーラブルなコンパイルに向けてモデルを評価し、準備する方法を説明します。
- スケーラブルなコンパイルの制限
サポートされていないパターン、ワークフロー、シミュレーション モードなど、スケーラブルなコンパイルを使用する際の制限。
- 再利用可能なコンポーネントに最適な複雑度の特定
スケーラブルなコンパイルに最適なモデル コンフィギュレーションを特定するためのガイドラインと考慮事項。
- Reuse Compilation Artifacts of Individual Simscape Blocks
If your model contains multiple instances of the same Simscape™ block, you can use the
simscape.scalable.setBlockConfig
function to make all or some of these instances reusable. - Reuse Compilation Artifacts of Textual Components
Scalable compilation also lets you reuse compilation artifacts of repeated textual components. The
CompileReuse
attribute lets you specify whether the components are reusable or not. If set totrue
, the compilation artifacts for these components are reusable. The default isfalse
. This attribute is available for components only.