Invalid matrix variable specified as workspace input in 'BatteryModellingfile/From Workspace6'. The matrix data must be a real, double, have two dimensions, and at least two columns. The first column must contain time values and the remaining columns the data values. Matrix values cannot be Inf or NaN.

All QuestionsCategory: ToolsInvalid matrix variable specified as workspace input in 'BatteryModellingfile/From Workspace6'. The matrix data must be a real, double, have two dimensions, and at least two columns. The first column must contain time values and the remaining columns the data values. Matrix values cannot be Inf or NaN.
Chetan Shidling Staff asked 4 years ago

I am getting this type of error in MATLAB Simulink. How to fix this error?