ERROR: Could not open the file mYfile.mat
Answers
-
Hello ALM,
Could you please provide more info regarding what you did. I suspect what you did was to set the *.mat file setting to 'read the *.mat file' and what you want to do is rather 'save to *.mat file'. Could you add more details regarding the error (exact error text) and what you did to reproduce it?
0 -
thank you for your reply!
I have checked I am using save matrix elements to *.mat file .
what I did is I have imported a nastran file containing a mesh into feko and I have enabled Editfeko from cadfeko and set the simulation parameters such as the frequency and save the matrix . any suggestions ? I have attached a section from the out file which shows that feko is not performing anything but fixing up the imported geometry.
SUMMARY OF REQUIRED TIMES IN SECONDS CPU-time runtime Reading and constructing the geometry 0.014 0.014 Checking the geometry 0.007 0.007 Initialisation of the Green's function 0.000 0.000 Calcul. of coupling for PO/Fock 0.000 0.000 Transformation to equivalent sources 0.000 0.000 Ray launching/tracing phase of RL-GO 0.000 0.000 Calcul. of matrix elements 0.000 0.000 Calcul. of right-hand side vector 0.000 0.000 Preconditioning system of linear eqns. 0.000 0.000 Solution of the system of linear eqns. 0.000 0.000 Eigensolution for characteristic modes 0.000 0.000 Determination of surface currents 0.000 0.000 Calcul. of impedances/powers/losses 0.000 0.000 Calcul. of averaged SAR values 0.000 0.000 Calcul. of power receiving antenna 0.000 0.000 Calcul. of cable coupling 0.000 0.000 Calcul. of error estimates 0.000 0.000 Calcul. of electric near field 0.000 0.000 Calcul. of magnetic near field 0.000 0.000 Calcul. of far field 0.000 0.000 other 0.043 0.042 ------------ ------------ total times: 0.064 0.063 (total times in hours: 0.000 0.000)
0 -
Hi ALM
You mention that you have FEKO set to save the matrix elements to the *.mat file, but that you get an error stating that the *.mat file cannot be opened.
Can you confirm that this is a FEKO error or are you maybe trying to open the *.mat file in another application?
In EDITFEKO you have set the solution frequency. Please note that you would also have to define an excitation (such as a plane wave using the A0 card) and a request (such as an OS card) to trigger a solution. Note that you should be able to do all of this through CADFEKO: import the NASTRAN file, set the frequency, define a plane wave and request a result (such as the far field for example).
0 -
Hello!
exactely I am trying to open the *.mat file with the mat2ascii application , but when looking for the outputted mat files I have found out that they were not generated by Feko. I am suspecting that the basis functions are not created because the mesh is not created within Feko , but I have no prove !
Thank you!
0 -
Problem solved !
thank you all for your help!
How problem was solved ? just runing feko in order to create the .fek file then import the .fek file again into CadFeko then I could get the *.mat file . Hope this could be helpful for somebody else.
Best regards!
0