필터 지우기
필터 지우기

How can I parametrize the "From Workspace" block in Simulink?

조회 수: 1 (최근 30일)
Dominika
Dominika 2015년 3월 24일
답변: A Jenkins 2015년 3월 24일
Hi, I am trying to parametrize the "From Workspace" block in Simulink. Instead of the default variable = "simulink-input", I want to use a name = "x1". "To workspace" block I changed for y1 with this -> set_param([sys '/To workspace'],'mat-name','y1'). Is there something like this for "From workspace"?

답변 (1개)

A Jenkins
A Jenkins 2015년 3월 24일
set_param([sys '/From workspace'],'VariableName','x1')

카테고리

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