Reading mf4 file in .Net through Matlab Runtime 9.9 does not give all the signals data time series?

6 visualizaciones (últimos 30 días)
In my application i want to read mf4 data into .Net, although it partially reads the data and some signal data is missing. But when we try and read the same mf4 file in matlab 2020 above i am able to read all the signals. i need help to understhand is the MATLAB RUNTIME 9.9 correct version to read mf4 files or i need to change the version.

Respuestas (1)

akshatsood
akshatsood el 22 de Mzo. de 2024
Editada: akshatsood el 22 de Mzo. de 2024
Hello @Shubham
To read MF4 (Measurement Format 4) files in .NET applications effectively, it is essential to ensure that libraries being used are fully compatible with the MF4 file specifications. MATLAB Runtime is a standalone set of shared libraries that enables the execution of compiled MATLAB applications or components on computers that do not have MATLAB installed. The version of MATLAB Runtime required for your application depends on the version of MATLAB used to compile the application. For that purpose, you can leverage the "mcrversion" function to return MATLAB Runtime version number that matches MATLAB version. Here is how you can get the ccorresponding version.
[major, minor] = mcrversion
This returns the MATLAB Runtime version number matching the version of MATLAB from where the command is executed. The MATLAB Runtime version number consists of two digits, separated by a decimal point. This function returns each digit as a separate output variable: major and minor.
For MATLAB R2023a, running the command below will indicate that MATLAB Runtime 9.14 is compatible with MATLAB R2023a. To determine the appropriate MATLAB Runtime version for your specific MATLAB version, please execute the same command in your MATLAB environment.
>> [major, minor] = mcrversion
major =
9
minor =
14
Please refer to the following documentation page for further understanding
I hope this helps.

Categorías

Más información sobre MATLAB Compiler SDK en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by