How to import .dat file at 2021a version?
19 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
HyeongKeun Jeong
il 5 Gen 2022
Commentato: Jens Roesner
il 17 Mag 2025
I was trying to use "SimulinkRealTime.utils.getFileScopeData", and noticed this was removed at 2020b.
Then, any substitute should be given, but there were nothing in the document.
Which function could I use for import ".Dat" file?
0 Commenti
Risposta accettata
Sebastian K
il 14 Ott 2022
The following MATLAB Answers post contains a utility function to import File Scope data in more recent MATLAB releases such as R2020b and later.
2 Commenti
Jens Roesner
il 17 Mag 2025
Thank you Sebastian!
That page is no longer available and I cannot find it using the internet archive or other alternatives. Is it possible to re-instate or re-create the answer?
Best wishes
Jens
Più risposte (1)
Dimitri MANKOV
il 6 Gen 2022
Hi HyeongKeun,
In MATLAB R2020b and later, this function is no longer required because the file logging mechanism is not based on the legacy File Scope block anymore, and the .dat files you are referring to are no longer created on the target machine. Instead, a new File Log block is available, which does not require any manual data extraction. For more information, you can have a look at the following MATLAB Answers post:
Best,
Dimitri
3 Commenti
Christopher Bitikofer
il 13 Ott 2022
Is there anyway we can get a solution for this? I have many legacy .dat files which I need to work with... Its not ideal to have to keep 2019a arround forever for this one util funciton... Would it be possible to pack the util and it's dependancies in an optionally downloadable addon?
Sebastian K
il 14 Ott 2022
Vedere anche
Categorie
Scopri di più su Target Computer Setup in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!