Simulink algebraic loop Error

조회 수: 5 (최근 30일)
Guiche
Guiche 2014년 2월 17일
답변: A Jenkins 2014년 2월 17일
Hi there
I am trying to make a simulation of sailing boat mechanics but have hit a bit of a brick wall. I have an equation to find the speed of the boat given certain wind speed and angle of wind relative to the boat. what i would like to do is loop this so that it feeds the new speed into the function, using the initial speed(constant) to begin with but the outputted variable there after.
I am very new to matlab and simulink so i apologize for my lack of knowledge, but as far as i can tell simulink really does not like algebraic loops and i cant think of a way to program it in without it breaking.
Any help would be much appreciated

답변 (1개)

A Jenkins
A Jenkins 2014년 2월 17일
Use a memory or unit delay block to break the loop. Double click on it to set your initial speed at time 0.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by