필터 지우기
필터 지우기

Use a value from a Simulink model in another Simulink model

조회 수: 1 (최근 30일)
Ali Mojtahed
Ali Mojtahed 2021년 12월 14일
답변: Marcelo 2021년 12월 16일
Hi.
I got a simulink model where uses an input value from a matlab function . I have another model that I wish somehow to use the same value from previous model instead of reopening the function and ask the user twice.
Alternatively, if there a way that I could save the value from model 1 in workspace, I will handle to import it to model 2 via 'fromworkspace' block.

답변 (1개)

Marcelo
Marcelo 2021년 12월 16일
You can try to use the "To Workspace" block, which is found inside Simulink/Sinks in Browser, and it is the inverse of the "From Workspace" block.

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by