Borrar filtros
Borrar filtros

Error due to not enough input arguments in ' C_c = cold.m_dot_c*Cold.c_p_c; %W/K '

2 visualizaciones (últimos 30 días)
Rebecca
Rebecca el 10 de Mayo de 2024
Respondida: Voss el 10 de Mayo de 2024
function [ q, e, UA, T_c_o ] = find_UA( hot, cold )
%Determine minimum heat capacity rate
C_c = cold.m_dot_c * cold.c_p_c; %W/K
C_h = hot.m_dot_h * hot.c_p_h; %W/K
C_min = min(C_c, C_h);
C_max = max(C_c, C_h);

Respuestas (1)

Voss
Voss el 10 de Mayo de 2024
The function find_UA expects two inputs. If you provide fewer than two inputs (e.g., by clicking the green Run button in the MATLAB editor, which runs the function with zero inputs), then you will encounter this error.

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

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