Borrar filtros
Borrar filtros

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 visualización (últimos 30 días)
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

Respuesta aceptada

Mitch Lautigar
Mitch Lautigar el 5 de Mayo de 2022
  • 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.

Más respuestas (0)

Categorías

Más información sobre Power and Energy Systems en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by