How do I read in data from a spreadsheet to a Test Vector for a SystemTest of a Simulink Model, as datatype single?
Show older comments
I have the following error message, listing the source as "Simulink", in the Run Status box of SystemTest:
"Invalid data type for root level inport 'LimitSignal/Signal'. The model is configured to load its root level inports from the workspace. These external inputs must have data type 'double'. This data type does not agree with the data type, 'single', that is being set for this root level inport. Loading external inputs from the workspace is turned off by going to the Simulation menu and selecting Configuration Parameters. On the Data Import/Export page, locate the Load from workspace group and uncheck the Input checkbox."
The recommendation it gives does not work, as that checkbox is already unchecked.
Changing the Simulink model inputs to receive 'double' instead of 'single' prevents this error message, but can't I read in from the spreadsheet as 'single'?
Accepted Answer
More Answers (0)
Categories
Find more on Test Model Components in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!