Skip to content

ImportMatricesFromMatlab does not update when external file is modified #2164

@Sumientra

Description

@Sumientra

Describe the bug
If you load a matrix by executing the ImportMatricesFromMatlab module, then you change the input file (outside of SCIRun) and execute the module again, the new/updated file does not get loaded. The module will keep outputting the old data (that is no longer in the file) no matter how many times you execute it. If you load a different file, and then load the first file again, SCIRun will load the new/updated data.

To Reproduce
Steps to reproduce the behavior:

  1. Build a network with ImportMatricesFromMatlab module and some other module to show you the contents of the data
  2. Select a Matlab file that contains a matrix, execute network, and verify that the data matches your input matrix
  3. Change the contents of the matrix in Matlab and save the file
  4. Execute the network and verify that the data does not match your new input matrix

Expected behavior
I expect ImportMatricesFromMatlab to load the file every time it is executed and output the current contents of the file.

Version
v5.0-beta.X-642-g5d885369d

Desktop (please complete the following information):

  • OS: MacOS
  • Version: 10.15.6

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions