add state flow to simulink model

when i use following command, try to add chart to simulnik model, error happens, how to resolve this
add_block('Stateflow/Chart',...
[ModelName '/' FunctionName '/' 'ScheduleChart'],'Position',BlockPosition);

 Respuesta aceptada

wenchao zhang
wenchao zhang el 6 de Sept. de 2023

0 votos

use this command works:
add_block('sflib/Chart',...
[ModelName '/' FunctionName '/' 'ScheduleChart'],'Position',BlockPosition);

Más respuestas (0)

Categorías

Más información sobre Modeling en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Preguntada:

el 6 de Sept. de 2023

Respondida:

el 6 de Sept. de 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by