필터 지우기
필터 지우기

Conversion of Simulink file to MATLAB file

조회 수: 113 (최근 30일)
Aysegul Kahraman
Aysegul Kahraman 2021년 9월 9일
답변: Abhinav Gupta 2021년 9월 13일
How can I convert a .slx (Simulink) file into a .m (MATLAB) file? I want to check the flow and order of my functions. Any suggestion'd be appreciated.
Thanks.

채택된 답변

Abhinav Gupta
Abhinav Gupta 2021년 9월 13일
It is not possible to convert a .slx file into a .m file directly.You can only generate C, C++, or HDL / VHDL from Simulink model using Simulink Coder. However If you need to run your Simulink model in the MATLAB Script you can do so using Sim.
To visualize the execution order of blocks in Simulink model. You can go to Debug tab in Simlink and then in Information Overlays go to Execution Order. For more info see this.
To visualize the Simulation Data in Simulink Model please refer to the following link:https://www.mathworks.com/help/simulink/ug/viewing-output-trajectories.html

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by