Simulink.SubsystemReference.setCodegenPath
R2026bDescription
Simulink.SubsystemReference.setCodegenPath(
sets the folder specified by ssFile,codeGenPath)codeGenPath as the code generation
folder of the subsystem file ssFile. If the specified folder does
not exist, Simulink® creates the folder.
Examples
Input Arguments
Version History
Introduced in R2026b