Utilities.Streams.writeRealMatrix seems to not work properly #4198
Unanswered
mpradovelasco
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a block component that writes in a mat file using the following code:
The first line simply substitutes "." by "_" for matlab compatibility. I use two instances of this block in a model (Maximums and Minimums):
in such a way that two dataName strings are properly generated: "ModelName_Minimums_dsignal" and "ModelName_Maximums_dsignal". dataSignal is the matrix to be saved, which is properly defined.
In the case that the file does not exist, only one component writes in the file, despite the names of arrays to write are different and argument append = true. That is:
If the file exist, no one writes in the file (in that case Matlab indicates that mat file is empty). I have tried with different Mat formats and append values without success.
Can someone help me?
System: MSL 4.0.0 on OMEdit 1.22 dev and Windows 11.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions