inserting multiple values in simulink

조회 수: 2 (최근 30일)
Mujeeb Iqbal
Mujeeb Iqbal 2016년 10월 14일
답변: Pritesh Shah 2016년 10월 14일
I have to this in Simulink, I have an equation F=ma , M is constant, F and “a” are variable. I can write this eq in matlab function with one input and output. But I have to insert my ten values of “a” in order to get ten values of F in a table form.
  댓글 수: 1
Preethi
Preethi 2016년 10월 14일
hi,
use multiply block and two constant blocks. define the values in command window before simulating the model or you can enter the values in constant block itself. for 'a' use a vector of 10 values

댓글을 달려면 로그인하십시오.

답변 (1개)

Pritesh Shah
Pritesh Shah 2016년 10월 14일
see help of gain block, you will be able to solve your issue.

카테고리

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