MATLAB Answers

How could I figure out the m.file inside MATLAB simulink file? because I wanna change some parameter. Thanks

6 views (last 30 days)
Zaid Adam
Zaid Adam on 28 Sep 2016
Commented: Zaid Adam on 3 Oct 2016
My problem is I have an example but I could not find inside the simulink

Accepted Answer

Walter Roberson
Walter Roberson on 29 Sep 2016
Right-click on a block and click on Explorer. On the page that comes up, in the Model Hierarchy, there will be a node for "Code for ..." (e.g., "Code for vipmosaicking"); click on that. That should allow you to see any associated standalone code.
If, though, the block is a MATLAB Function, then there will be a node in the hierarchy entitled "MATLAB Function": right-click on that and select Open. Alternately, if you know that a block is a MATLAB Function, then right in the graphical model view you can right-click it and select Open to be taken directly to the code.
  9 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!