hi guys, can i edit a .sfx file by matlab scripts?
3 次查看(过去 30 天)
显示 更早的评论
i want to select file in 'pattern', can i finish this by scirpts?

0 个评论
回答(1 个)
Walter Roberson
2025-9-17
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!