hi guys, can i edit a .sfx file by matlab scripts?

답변 (1개)

Walter Roberson
Walter Roberson 2025년 9월 17일

0 개 추천

It is possible to edit a .sfx file by using a script. .sfx files are zipped XML files, so you would unzip the .sfx file, edit the resulting XML, and zip the result back up.
More likely you want to use a script to edit a model and save the model as sfx file. Many aspects of models can be altered by using set_param and related commands; https://www.mathworks.com/help/simulink/configuration-sets.html?s_tid=CRUX_lftnav

댓글 수: 1

Joe
Joe 2025년 9월 17일
편집: Joe 2025년 9월 17일
thanks Roberson! actually i want to generate graph by a defined .m function automatically. I find that Pattern Wizard can do this, but i dont know if there are APIs for Pattern Wizard. Just like the tutorial below, can i do this by API?

댓글을 달려면 로그인하십시오.

카테고리

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

제품

릴리스

R2021b

태그

질문:

Joe
2025년 9월 17일

편집:

Joe
2025년 9월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by