Hello,
I am using Object Model capabilities of HyperSizer through MATLAB for automation of all projects. I use HyperFEA coupling and everything works well except one error that I get from time to time when it tries to import the FEM:
-------------------------------------------------------
? ? ? Invoke Error, Dispatch Exception:
Source: ImportFEM [Function]
Description: Unhandled Error, Application Error in Project::ImportFEM [Function]()
Line #9, Error #-2147188733, Unhandled Error, Application Error in
clsHyperSizerProject::ComponentImport [Function]()
Line #24, Error #-2147188733, Unhandled Error, Application Error in clsReadNastran::Start [Function]()
Line #39, Error #-2147188733, Unhandled Error, Application Error in clsReadNastran::ComponentImport
[Function]()
Line #137, Error #3049, Cannot open database ''. It may not be a database that your application
recognizes, or the file may be corrupt.
Error in ==> hyperfea at 111
project.ImportFEM();
-------------------------------------------------------
P.S. The error identifier is: "MATLAB:COM:E2147778563"
The strange thing is that when I restart the computer and rerun the simulations without changing anything, it goes through the error message... It has probably something to do with the memory... Do you have any idea of how I could get rid of it? It is pretty annoying because I have a lot of projects and this error happens randomly during the process and it stops the whole process and doesn't let Matlab to run the next projects.
Thanks a lot.
Regards