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!