0. The project needs to read the complex file (.mat) generated by matlab simulation through C#, and then process it. The contents of the file are shown in the figure below:
1. Add DLL file: find Mathnet by NuGet manager, search mathnet.Numerics as shown in the figure below, install Mathnet.numerics;
2. Add references:
3. The following method can be used to read complex data.
1. Add DLL file: find Mathnet by NuGet manager, search mathnet.Numerics as shown in the figure below, install Mathnet.numerics;
2. Add references:
3. The following method can be used to read complex data.
Read More:
- A fatal error C1083 occurred when compiling C + + code under. Net: unable to open the include file: “xuhk”_ Jnihelloworld. H “: solution to no such file or directory error.
- C / C + + cannot open the source file directory, the header file is not imported, the solution is as follows
- Use Python to insert the specified content in the specified line of the specified file
- Complex warning: casting complex values to real discards the imaginary part
- 【.Net Core】using declarations‘ is not available in C# 7.3. Please use language version 8.0 or greate
- Windows can’t delete the file, indicating that it is in use. (release of document occupation)
- XML file should have root tag (extra content at the end of the document in file error)
- Python read / write file error valueerror: I/O operation on closed file
- Error reading file cow.osg: read error (Could not find plugin to read objects from file “cow.osg“.)
- Linux use ls to view the file color is all white solution, and Linux file color introduction
- Error c2065: ‘new’: undeclared identifier, mainly because it is a. C file
- Java – read all the files and folders in a certain directory and three methods to get the file name from the file path
- Failed to write output file ‘C:’ windows\ Microsoft.NET \Framework64\v4.0.30319\Temporary ASP.NET Files\root\106f9ae8\cc0e1
- [unable to read project file xxxxx, XXX failed to load project file, name cannot start with “<" character (hex value 0x3c)] exception handling method
- Pandas read the CSV file error filenotf oundError:File b ‘***.csv’ does not exist
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- Vs fatal error C1083: unable to open include file: “sys / socket. H”: no such file
- How to use it RegAsm.exe Register C in a development / production environment#/ VB.NET Developed DLL
- ninja Compiling the C compiler identification source file CMakeCCompilerId.c failed
- Error = 2, no such file or director is prompted in the lower left corner of the MAC pycharm running file