Using multiple MATLAB level 2 S-functions in one Simulink model?
4 ビュー (過去 30 日間)
古いコメントを表示
I have a model where I have simulated the response of drone using an S-function. I am trying create a simulation where I have multiple drones simulated in one Simulink model, but the response is not as expected; somehow if I put two or more S-functions in, all of them behave unexpectedly. Uncommenting all but one S-function will produce the right response for the specific S-function.
I am using MATLAB Level 2 S-functions. I am wondering if the S-functions are sharing variables, or if anyone else has experienced something similar when using S-functions.
Reading some documentation, I was under the impression that this is not a complex task, so I am wondering where specifically I should look for what could be causing this issue. Is using multiple functions something that needs to be declared explicitly in the s-function?
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!