Using function simple equation doesn't work
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello guys,
Could you tell me why my function doesn't work, without block "fcn" - "Pikr1" everything works and scope shows me results.
How to use this "fcn" block, I would like to put there my own variable which is counted from output "p".
Greetings,
Krystian
댓글 수: 0
채택된 답변
gonzalo Mier
2019년 5월 8일
편집: gonzalo Mier
2019년 5월 8일
Next time, I ask you to add more info so people can help you easily and not only with a photo.
The problem here is the block fcn "Pikr1" accepts as parameter a formula with the input u. So if you want to do p*p you have to input in the fcn block the formula u*u.
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!