tdmswriteprop write error code for long digits
1 次查看(过去 30 天)
显示 更早的评论
see below captures, the same code write TDMS properties, correct in 2022b, but error code in 2023b and 2024a version.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1664806/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1664811/image.png)
回答(1 个)
Jorbmus
2024-7-21
编辑:Jorbmus
2024-7-22
I encountered the same problem in 2024a and 2023b and found this post, then tried this in 2022b and worked fine
I reported a bug!
Edit: I got the following answer from Mathworks:
I am writing in reference to your Technical Support Case 07161458 regarding 'TDMS file write properties via tdmswriteprop() bug'. Thank you for reporting this issue. According to our internal documentation, there is a known bug in R2023b and R2024a which causes writing expressions longer than 15 characters to result in invalid characters. Our developers have already been informed about this bug and they are currently working on a bugfix for future releases of MATLAB. I will also nominate this bugfix for R2024a so our developers can consider shipping it in a future update.
In case of strings, the only workaround is avoiding strings longer than 15 characters. I apologize for this inconvenience.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!