creating a .mdl file.
11 views (last 30 days)
Show older comments
What is the command used to create a .mdl(Simulink model) file.?
0 Comments
Answers (2)
Kaustubha Govind
on 21 Dec 2011
Either:
>> open_system(new_system))
Or:
>> simulink
File->New->Model
0 Comments
Michael
on 31 Mar 2014
open_system only opens a current existing system. If you want to create one from scratch:
>> new_system('test') >> if ismac() >> save_system('test3','test3.slx') %for mac use extension .slx, windows use .mdl >> end; >> if ispc() >> save_system('test3','test3.mdl') >> end;
This should work.
0 Comments
See Also
Categories
Find more on Simulink Environment Customization 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!