How to view mdl files

조회 수: 213 (최근 30일)
Rahul kumar
Rahul kumar 2012년 8월 21일
Simulink models can be saved as .mdl-files which is an ASCII file containing information describing the model. Each section is started by a keyword filled with pairs of parameters and values.
It contains information about each system and subsystem and their con- tained blocks, ports and lines in hierarchical order. It also consists of sections describing global variables.
I want to know how to view these .mdl files containing these info. as text file in ASCII format in simulink window!
In which tab i should go and browse.
help me
Thank you

채택된 답변

TAB
TAB 2012년 8월 21일
Simulink opens the .mdl file in graphical ways. So you can not read ASCII information of .mdl file simulink window.
But you can open the file in Notepad or Wordpad or any ascii reader to read the information in text formate.
For windows operating system,
  1. Right click on .mdl file and choose Open with...
  2. Select Notepad or Wordpad or any other ascii reader.
  3. Click OK.
  댓글 수: 1
K E
K E 2012년 8월 21일
You can also use your Matlab editor to open and view it,
edit('myModel.mdl')
You need to supply a full pathname to the model file if you are not presently in that directory.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by