- Model (External Mode)
- App
- SLRT Explorer
Data and time dimensions are incompatible when running HIL
5 views (last 30 days)
Show older comments
I have the same question as Data and time dimensions are incompatible error message - MATLAB Answers - MATLAB Central (mathworks.cn). The difference is that when running HIL, the scope cannot display data, while the data inspector will report the error in a few minutes.This bug seriously affects its usage.Hope it can be resolved.
0 Comments
Answers (1)
Altaïr
on 28 Mar 2025
Edited: Altaïr
on 28 Mar 2025
When I encountered this issue, it seemed to occur sporadically. Here are a few strategies that might help in addressing it:
To avoid the error, try performing a clean re-build by deleting artifacts like the 'slprj' and 'model_rtw_slrealtime' folders, as well as any .slxc files.
Running the simulation in Normal Mode, either from SLRT Explorer or the MATLAB command line, can also be effective.
Ensure that multiple simulation interfaces are not mixed. It's best to stick with one of the following interfaces at a time:
For example, avoid interacting with a real-time simulation from an App or SLRT Explorer if the simulation was started from the model in External Mode.
0 Comments
See Also
Categories
Find more on Target Computer Setup 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!