"Dimension argument is not supported when two input arrays are provided" error in stateflow
39 次查看(过去 30 天)
显示 更早的评论
Hello.
I found some error while I running the stateflow.
what I want to do is explained below.
- get the voltage information from each batteries (3 batteries in simulink)
- if average value of 3 batteries voltage is bigger than minimum value of 3 batteries voltage,
- transit to the other state.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/322864/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/322867/image.png)
But it give some error like this.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/322870/image.png)
I tried this way also.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/322882/image.png)
then I got this error.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/322885/image.png)
I was wondering if you help me about these errors.
- Dimension argument is not supported when two input arrays are provided
- Error in port widths or dimensions. Invalid dimension has been specified for input 'v1'.
Thank you.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!