Unit issue when importing external mf4 or dat file with Playback block in simulink
Show older comments
Dear community,
I'm using "Playback" block in simulink to import data from Inca recording (mf4 or dat formats), so I can use as input to test my function. the block is working and I see the data is imported correctly however, when I try to run the simulation, I've got the following error caused by the unit format of one of the variuables:
Error:Invalid unit expression '-'. Caused by: Encountered error while parsing unit expression '-' at position 1.
This unit "-" represents a varible that does not have any physical meaning, such as bit status, counter, etc. but the values are integer.
I've tryed to edit units on port converter; data type converter and bit converter but nothing seems to be able to make simulink hapy about that.
Is there a way to manully set the unit(not convert) when importing the signal, or force simulink to ignore completely the units?
Many thanks,
Olavo
Accepted Answer
More Answers (0)
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!