Calling m file from Simulink

조회 수: 3 (최근 30일)
Harshil Patel
Harshil Patel 2015년 8월 9일
답변: Azzi Abdelmalek 2015년 8월 9일
I have seen several threads on this topic, but being new to MATLAB, I wasn't able to follow what any of those meant.
I have a m file: mdl_planar3.m
Running this file in MATLAB creates a few variables in workspace. I want to use these variables in my Simulink model. I think calling the m file from Simulink would be the best option. If there are any other methods, please let me know.
Can anyone please post a step by step procedure to do this?
Thanking You, Harshil

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2015년 8월 9일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by