The mathworks documentation( Importing Microsoft® Excel® Data ) shows how to map a .xlsx file to input ports in a test harness. This works fine if the input ports are doubles. However, if the input ports are boolean, the signal fails to map with the error: "Not compatible for simulation." I have tried using 0, 1 and TRUE, FALSE in the excel spreadsheet, but it still will not map. Is there a format for importing boolean data, or is this not supported?
MATLAB: Mapping Test Harness Inputs to an Excel .xlsx File
boolean inputimport from excelmapping inputsMATLABsimulinksimulink testtest manager
Related Question
- What are the methods available in Simulink Tes for giving inuput and getting output from a test sequence or test manager
- Simulink Test baseline data from excel
- Test harness location/ working of harnessinfo xml file
- Does the Data Type Conversion block not convert very small numbers to boolean zeros in Simulink 7.1 (R2008a)
- How to find out to which VARIANT type a MATLAB variable is converted
Best Answer