c2b.configureMulticoreOptions
R2026bConfigure multicore options for Texas Instruments C2000 target hardware
Since R2026b
Syntax
Description
c2b.configureMulticoreOptions(
retrieves and displays the current multicore option settings for the specified
multiprocessor model or configuration set.configSetOrModel)
For a multiprocessor model configured for the SoC Builder, you can configure these multicore options before building and deploying the model:
Generate unused models for the cores not modeled in the model reference workflow.
Build with core synchronization between the primary and secondary cores of the multicore processor board. This synchronization occurs at the boot-level, model initialization, and application-level.
c2b.configureMulticoreOptions(
sets the specified multicore options using name-value arguments.configSetOrModel,Name=Value)
returns a logical status indicating success (status = c2b.configureMulticoreOptions(___)true) or failure
(false) instead of throwing an error.
[
additionally returns a character vector containing status or error messages. When you
specify output arguments, the function suppresses status messages from the MATLAB® Command Window.status,statusMessage] = c2b.configureMulticoreOptions(___)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Limitations
The model must be loaded before calling this function.
You cannot enable
BuildWithSynchronizationunlessGenerateUnusedModelsis also enabled, because core synchronization depends on the generated unused model code.C29x based hardware boards (for example, TI F29H85x) support only
GenerateUnusedModels. If you specifyBuildWithSynchronizationfor a model configured for a C29x board, the function throws an error.Single-core boards (for example, TI Delfino F2837xS) do not support this function.
The function dirties the model. You must save the model to retain the configured settings across sessions.
Tips
Call this function without arguments to query the current state without modifying anything.
After you configure multicore options, save the model (
save_system) to persist the settings.For pre-R2026b models, both options are enabled by default on model load to preserve legacy behavior. Use this function only if you need to change those defaults.