Convert .slx to .mdl from Matlab command prompt

I have a model in slx format. I want to convert it to mdl format to do some text processing. Is there a command in Matlab which does this? I am aware that we can convert slx -> mdl from file-saveas etc. I am using Matlab R2016b.
Any help is greatly appreciated.
Nirav Ambaliya

 Accepted Answer

Found commands which does the job.
open_system('SLXModel')
save_system('SLXModel','MDLModel.mdl')

More Answers (1)

open_system('SLXModel')
save_system('SLXModel','MDLModel.mdl')

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!