Copy simulink block programmatically

Hey,
I have a very simple problem for which I am not able to find an answer.
How exactly do I copy a block in Simulink programmatically? So basically ctrl+c, ctrl+v but programmatically?
add_block alone is not enough as I want all the settings to be the same.
Thanks!

답변 (1개)

Angelo Yeo
Angelo Yeo 2023년 7월 20일

0 개 추천

It's always better when you provide a sample models and explain what you want to do with them.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2021a

태그

질문:

2023년 7월 19일

답변:

2023년 7월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by