I am trying to solve a set of PDEs using a combination of MATLAB (to run the loop) and COMSOL. Then I use the output of COMSOL and after small process the output of COMSOL which is loaded in MATLAB should be imported again into COMSOL model to update first variables. It is easy to import data from COMSOL to MATLAB but it is difficult to do the reverse. I am looking for straight way to import data from MATLAB to COMSOL. I should mention it is possible to write the data in txt file and then import it by interpolation but I don’t need interpolation on the data and this seems to increase the total running time drastically. Does anybody have any suggestions?

Thank you

More Vahid Mosallanejad's questions See All
Similar questions and discussions