MATLAB Answers

Convert .slx to .mdl from Matlab command prompt

11 views (last 30 days)
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

Nirav Ambaliya
Nirav Ambaliya on 11 Oct 2018
Found commands which does the job.
open_system('SLXModel')
save_system('SLXModel','MDLModel.mdl')

More Answers (0)

Community Treasure Hunt

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

Start Hunting!