i cannot understand this problem
2 次查看(过去 30 天)
显示 更早的评论
When i try to run this application
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151092/image.png)
i have out this message
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151094/image.png)
i,m using matlabR2013a
0 个评论
采纳的回答
Zack Peters
2013-10-24
Hi Sherif,
Regarding your error message:
Unexpected or invalid block connection. This can arise when a library block changes its underlying implementation to use a new domain that is incompatible with the original implementation. Check and reconfigure block connections to use a consistent domain.
It is hard to say the exact cause of the issue without seeing the model, but it is likely that the blocks in your model belong to different domains.
Simulink has several different physical modeling toolboxes that represent different domains. Each domain has different physical connections associated to it and with the exception of a few multi-domain blocks, no two domains are allowed to connect together. SimElectronics and SimPowerSystems are an example of two different domains which do not connect together but can be used to model similar situations.
In your screenshot above, the Potentiometer block is from the SimElectronics library while the VM (Voltage Measurement), Gnd (ground) and powergui block are from the SimPowerSystems library. If you would like to measure the voltage across the Potentiometer I suggest replacing the VM and Gnd blocks with block from the SimElectronics library (such as the Voltage Sensor and Electrical Reference blocks).
~Zack
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Nonlinear Operators 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!