Reagarding dyamic running of matlab model

조회 수: 1 (최근 30일)
Shashikanth
Shashikanth 2015년 1월 12일
I have deisgned a simscape model and i am running the model using sim command by script . I have two pressures p1 and p2 .I am able to run the model and calculate the flow correctly when i give single values for p1 and p2.Then i created a database like p1 =[20 30 40]; p2= [15 10 30]; for i=1:length(db_p1) P1=db_p1(i); P2=db_p2(i); q= simout.signals(1,1).values; disp(q(end,1)); but now i getting the same flow rate for different combinations of p1 and p2 ie for p1=15, p2= 20. the same output is coming for the remaining 2 cases.please help to get the correct values.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simscape에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by