フィルターのクリア

I am trying to simulate a battery discharge test in which I am trying to control a relay switch that's connecting battery to the load using Flow chart

1 回表示 (過去 30 日間)
Error in port widths or dimensions. 'Output Port 1' of 'cell_unit_discharge/Chart/temp' is a one dimensional vector with 1 elements.
Besides this error I am also recieving an error stating that the solver is in loop. when the flow chart conditions I am putting.
I am Using Flow Chart to make a conditional Case operation

採用された回答

Mitch Lautigar
Mitch Lautigar 2022 年 5 月 5 日
  • Error 1: "Error in port widths or dimensions. 'Output Port 1' of 'cell_unit_discharge/Chart/temp' is a one dimensional vector with 1 elements" This error is happening because MATLAB is not sure how to handle the data it is receiving from port 1. Check your settings to make sure transmission of data is smooth, and if nothing else, plot the incoming data to verify transmission.
  • Error 2: "Besides this error I am also recieving an error stating that the solver is in loop. when the flow chart conditions I am putting." MATLAB prefers to have the data BEFORE running through any loops. This is a safeguard MATLAB has to avoid memory being overwritten.
  1 件のコメント
Aaqib Ahmad
Aaqib Ahmad 2022 年 5 月 6 日
Can you please reffer any possible solution , I am not able to rectify them as of now.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePower and Energy Systems についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by