Export from workspace to simulink

조회 수: 1 (최근 30일)
Ionut Grigore
Ionut Grigore 2015년 12월 22일
편집: Renato Agurto 2015년 12월 22일
I have a honework and i dont know what kind of block is the big one .I need to bring from workspace to simulink values.

답변 (1개)

Renato Agurto
Renato Agurto 2015년 12월 22일
편집: Renato Agurto 2015년 12월 22일
Simulink -> sources -> constant
if you have a constant in the workspace. You just need to write the name of the variable inside the block. Or:
Simulink -> sources -> From workspace
if you want a signal. For example:
simin.time = (1:10)';
simin.signals.values = simin.time.^2;

카테고리

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