Home › Forums › Bug Reports › Dependent variables information in .dat files is not correct Tagged: .dat dataset This topic has 3 replies, 2 voices, and was last updated 9 months, 3 weeks ago by QucsStudio. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts 14. February 2023 at 14:03 #7056 drahnoelParticipant Hello, In the .dat file sometimes dependent variables are reported, where the variable actually does not depend on it. The file is thereby corrupted as reshaping of the data cannot work anymore. I created a minimal schematic to reproduce: To check the dat file, following octave script can be used: [val, dep_n, dep_v] = loadQucsVariable(“test_bug.dat”, “VAR3”); causing an error message of: error: reshape: can’t reshape 10×1 array to 10×10 array Investigation of the header information of the .dat file reveils, that VAR3 is of size 10 but depends on VAR2 and VAR1. So either VAR3 should be of length 100 or it should only depend on VAR1. Interestingly, VAR4 is all good. VAR4 has length 10 and only depends on VAR2. QucsStudio Version 4.3.1 Best Regards, Leonhard 14. February 2023 at 14:06 #7057 drahnoelParticipant My file uploads were restricted for security reasons, I try again as archive Attachments: qucsStudio.7z 14. February 2023 at 14:44 #7059 drahnoelParticipant I found, that Qucs 0.0.19 does not have the problem. The dat file for an equivalent schematic contains following lines: <Qucs Dataset 0.0.19> <indep VAR1 10> … <indep VAR2 10> … <dep VAR4 VAR2> … <dep VAR3 VAR1> 15. February 2023 at 20:16 #7067 QucsStudioKeymaster Yes, you’re right! Many thanks for the bug report. I will fix it. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.