Effacer les filtres
Effacer les filtres

creating a .mdl file.

9 vues (au cours des 30 derniers jours)
Rajan
Rajan le 21 Déc 2011
What is the command used to create a .mdl(Simulink model) file.?

Réponses (2)

Kaustubha Govind
Kaustubha Govind le 21 Déc 2011
Either:
>> open_system(new_system))
Or:
>> simulink
File->New->Model

Michael
Michael le 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.

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by