{"id":25057,"date":"2024-02-27T14:21:38","date_gmt":"2024-02-27T14:21:38","guid":{"rendered":"https:\/\/imperix.com\/doc\/?p=25057"},"modified":"2026-07-29T12:00:00","modified_gmt":"2026-07-29T12:00:00","slug":"mat-files-cockpit","status":"publish","type":"post","link":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit","title":{"rendered":"Working with MAT files generated by Cockpit"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 ez-toc-wrap-right-text counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit\/#Structure-of-Cockpit-generated-MAT-files\" >Structure of Cockpit-generated MAT files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit\/#Loading-MAT-files\" >Loading MAT files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit\/#Saving-data-in-MAT-files\" >Saving data in MAT files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit\/#Exporting-Cockpit-data-as-MATLAB-Figures\" >Exporting Cockpit data as MATLAB Figures<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit\/#References\" >References<\/a><\/li><\/ul><\/nav><\/div>\n\n<p class=\"wp-block-paragraph\">Cockpit provides several options for saving signals acquired by <a href=\"https:\/\/imperix.com\/products\/power-electronic-controllers\/\" type=\"link\" id=\"https:\/\/imperix.com\/products\/power-electronic-controllers\/\">imperix controllers<\/a>. This article provides information on the common structure of MAT files generated by Cockpit and offers tips for working with them in MATLAB.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Structure-of-Cockpit-generated-MAT-files\"><\/span>Structure of Cockpit-generated MAT files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MAT is a binary file format used by MATLAB to save workspace variables. MAT files generated by Cockpit use version 7.3, which is based on the HDF5 standard for hierarchical storage of large amounts of data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In MAT 7.3 files, the data is stored in individually accessible chunks. This allows for partial saving by appending additional chunks to the file and partial loading by reading only the chunks that contain the desired variables. The organization of MAT 7.3 files makes exporting data from Cockpit and loading it into the MATLAB Workspace more efficient than in other file versions, except in a few cases.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"778\" src=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/dc_load-1024x778.png\" alt=\"MATLAB interface with an MAT file exported from Cockpit loaded\" class=\"wp-image-25078\" srcset=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/dc_load-1024x778.png 1024w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/dc_load-300x228.png 300w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/dc_load-768x584.png 768w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/dc_load.png 1174w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Loading a MAT file generated with the Cockpit \u201cExport MAT\u201d feature<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">All MAT Files generated by Cockpit share a structure similar to the one shown above. Acquired signals are exported as variables with the same name they had in Cockpit. The variable data is formatted as an N x 2 matrix, where N is the number of recorded samples. The first column contains the signal x-axis (timestamps, frequencies, etc.), and the second contains the y-axis values.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>General_Header<\/code> structure contains the project name, export date, target IP, and other general information. The additional information in the General_Header varies based on which tool generated the MAT file. The same goes for the <code>Variables_Header<\/code>, which contains information related to the visual representation of the exported signals, as plotted in Cockpit (Scale, Offset, Color\u2026) and is thus only added by the <em><em>Export Plot as MAT File<\/em><\/em> tool.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The only exception is the MAT file generated by the <em><em>Export Plot as MATLAB Figure<\/em><\/em> export tool. As detailed in the section <a href=\"\/doc\/help\/mat-files-cockpit#h-plotting-the-exported-data\" type=\"link\" id=\"https:\/\/imperix.com\/doc\/?p=46148&amp;preview=true&amp;_thumbnail_id=28698&amp;currentThread=imperix-cockpit#Plotting-MAT-file-data-Export-as-MATLAB-Figure\">Exporting Cockpit data as MATLAB Figures<\/a> below, the MAT file exported by Cockpit is post-processed using a MATLAB script and used for plotting, so it has a different structure.<\/p>\n\n\n\n<h2 id=\"h-loading-mat-files\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Loading-MAT-files\"><\/span>Loading MAT files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The easiest way to load a MAT file is to double-click it in the MATLAB file explorer. This is equivalent to the MATLAB<code> load <\/code>function. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MAT files can also be loaded using the matfile function. This function provides additional options that may be useful when loading very large files, such as those exported from the Cockpit Rolling Plot module after a long monitoring period. Unpacking large files and loading all of the saved variables into MATLAB might take a while, overwhelming MATLAB\u2019s available memory. Loading such files could cause MATLAB to generate <code>Out of Memory<\/code> errors, become unresponsive, or crash.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using the <code>matfile<\/code> function allows us to load only selected variables, or even parts of variables. To work with MAT files without loading the stored data, the file should be interfaced with through the MAT-file object, created using the <code>matfile<\/code> function:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"Matlab\" data-shcb-language-slug=\"matlab\"><span><code class=\"hljs language-matlab\">matObj = matfile(<span class=\"hljs-string\">'Cockpit_export.mat'<\/span>);<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Matlab<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">matlab<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Calling the <code>whos<\/code> function on the MAT-file object will list out the names, dimensions, and memory sizes of the data contained in the file. From here, any variable can be chosen and loaded into the Workspace like so:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"Matlab\" data-shcb-language-slug=\"matlab\"><span><code class=\"hljs language-matlab\">Ig_a = matObj.Ig_a;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Matlab<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">matlab<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Loading parts of a given variable can be done by simply indexing it. Using the <code>end<\/code> keyword should be avoided so as not to inadvertently load the whole variable. If access to the last element of a dimension is needed, the following pattern can be used:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"Matlab\" data-shcb-language-slug=\"matlab\"><span><code class=\"hljs language-matlab\">&#91;nrows,ncols] = <span class=\"hljs-built_in\">size<\/span>(matObj,<span class=\"hljs-string\">'Ig_b'<\/span>);\nlast_timestamp = matObj.Ig_b(nrows,<span class=\"hljs-number\">1<\/span>);<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Matlab<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">matlab<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 id=\"h-saving-your-results-as-mat-files\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Saving-data-in-MAT-files\"><\/span>Saving data in MAT files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Cockpit data that was loaded and processed in MATLAB can also be saved again in another file, or even in the same file, as demonstrated in the following example:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"Matlab\" data-shcb-language-slug=\"matlab\"><span><code class=\"hljs language-matlab\">matObj = matfile(<span class=\"hljs-string\">'Cockpit_export.mat'<\/span>);\n\n<span class=\"hljs-comment\">%% Saving in a separate file<\/span>\nIg_d_filt = matObj.Ig_d;\nIg_d_filt(:,<span class=\"hljs-number\">2<\/span>) = smoothdata(Ig_d_filt(:,<span class=\"hljs-number\">2<\/span>)); <span class=\"hljs-comment\">% example processing - smoothing filter<\/span>\nIg_d_ref = matObj.Ig_d_ref;\n<span class=\"hljs-comment\">% to create a new MAT file<\/span>\nsave(<span class=\"hljs-string\">\"manipulated_var\"<\/span>, <span class=\"hljs-string\">\"Ig_d_filt\"<\/span>, <span class=\"hljs-string\">'-v7.3'<\/span>);\n<span class=\"hljs-comment\">% to add a new variable to an existing file<\/span>\nsave(<span class=\"hljs-string\">\"manipulated_var\"<\/span>, <span class=\"hljs-string\">\"Ig_d_ref\"<\/span>, <span class=\"hljs-string\">'-append'<\/span>);\n\n<span class=\"hljs-comment\">%% Saving in the same file<\/span>\n<span class=\"hljs-comment\">% to enable saving to the file accessed through the MAT-file Object<\/span>\nmatObj.Properties.Writable = <span class=\"hljs-built_in\">true<\/span>;\nmatObj.Ig_d_filt = Ig_d_filt; <span class=\"hljs-comment\">% to add a new variable though the MAT-file Object<\/span>\n\n<span class=\"hljs-comment\">%% Updating values in a file through partial loading and saving<\/span>\nvariables_header = data_obj.(<span class=\"hljs-string\">'Variables_Header'<\/span>);\nvars_to_update = {<span class=\"hljs-string\">'Ig_a'<\/span>, <span class=\"hljs-string\">'Ig_b'<\/span>, <span class=\"hljs-string\">'Ig_c'<\/span>};\n<span class=\"hljs-keyword\">for<\/span> <span class=\"hljs-built_in\">i<\/span> = <span class=\"hljs-number\">1<\/span>:<span class=\"hljs-built_in\">length<\/span>(vars_to_update)\n  <span class=\"hljs-keyword\">if<\/span> any(strcmp(variables_header.Name, vars_to_update{<span class=\"hljs-built_in\">i<\/span>}))\n    matObj.(vars_to_change{<span class=\"hljs-built_in\">i<\/span>})(:,<span class=\"hljs-number\">2<\/span>) = smoothdata(matObj.(vars_to_update{<span class=\"hljs-built_in\">i<\/span>})(:,<span class=\"hljs-number\">2<\/span>));\n  <span class=\"hljs-keyword\">end<\/span>\n<span class=\"hljs-keyword\">end<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Matlab<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">matlab<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<div class=\"wp-block-simple-alerts-for-gutenberg-alert-boxes sab-alert sab-alert-warning\" role=\"alert\">Snapshot MAT files edited in this manner cannot be reloaded in Cockpit.<\/div>\n\n\n\n<div class=\"wp-block-simple-alerts-for-gutenberg-alert-boxes sab-alert sab-alert-info\" role=\"alert\">Partial loading and saving in a loop, especially one element at a time, might be counterproductive, as repeated access to the file incurs overhead that can reduce code performance. For large files, MATLAB documentation recommends reading and writing as much data as possible into memory at a time to avoid unnecessary overhead.<\/div>\n\n\n\n<h2 id=\"h-plotting-the-exported-data\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Exporting-Cockpit-data-as-MATLAB-Figures\"><\/span>Exporting Cockpit data as MATLAB Figures<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">While initial data exploration is typically done through the MATLAB Command Window, once the desired results are obtained, the commands can be transferred into a script that will be applied to all future exports. Using custom MATLAB scripts in this manner will keep the visualizations consistent across multiple experiments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Cockpit <em><em>Export Plot as MATLAB Figure<\/em><\/em> option opens an instance of MATLAB and runs a custom script immediately after finishing the export to a MAT file. The script:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Parses the exported MAT file to recreate the signals in a MATLAB figure, as they were plotted in Cockpit<\/li>\n\n\n\n<li>Overwrites the original exported MAT file with data reshaped for plotting<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The resulting MAT file contains essentially the same information, just in a slightly different layout. Every signal is represented with a structure that contains both the timeseries data and data necessary for recreating the exported plots in a MATLAB Figure:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"Matlab\" data-shcb-language-slug=\"matlab\"><span><code class=\"hljs language-matlab\">Name: <span class=\"hljs-string\">'Ig_a'<\/span>\nScale: <span class=\"hljs-number\">1<\/span>\nOffset: <span class=\"hljs-number\">0<\/span>\nUnit: <span class=\"hljs-string\">'-'<\/span>\nPlot: <span class=\"hljs-string\">'Plot 1'<\/span>\nColor: <span class=\"hljs-string\">'#6c4092'<\/span>\nModule: <span class=\"hljs-string\">'Scope'<\/span>\nModuleType: <span class=\"hljs-string\">'Scope module'<\/span>\nTime: &#91;<span class=\"hljs-number\">4001<\/span>\u00d7<span class=\"hljs-number\">1<\/span> double]\nData: &#91;<span class=\"hljs-number\">4001<\/span>\u00d7<span class=\"hljs-number\">1<\/span> double]<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Matlab<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">matlab<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<div class=\"wp-block-simple-alerts-for-gutenberg-alert-boxes sab-alert sab-alert-info\" role=\"alert\">MATLAB scripts used to plot exported data can be found in the <code>cockpit\/matlabScripts<\/code> folder of the <a href=\"https:\/\/imperix.com\/software\/acg-sdk\/simulink\/\" type=\"link\" id=\"https:\/\/imperix.com\/software\/acg-sdk\/simulink\/\">ACG SDK <\/a>installation. They can be used as a jumping-off point for custom user scripts, or even modified directly. To ensure that a modified script is executed when exporting as  \u201cMATLAB Figure\u201d, the name of the script directory and the main script <code>handleCockpitExport.m<\/code> should not be changed.<\/div>\n\n\n\n<h2 id=\"h-references\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"References\"><\/span>References<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">[1] <a href=\"https:\/\/ch.mathworks.com\/help\/matlab\/import_export\/mat-file-versions.html\">https:\/\/mathworks.com\/help\/matlab\/import_export\/mat-file-versions.html<\/a><br>[2] <a href=\"https:\/\/ch.mathworks.com\/help\/matlab\/ref\/matlab.io.matfile.html\">https:\/\/mathworks.com\/help\/matlab\/ref\/matlab.io.matfile.html<\/a><br>[3] <a href=\"https:\/\/ch.mathworks.com\/help\/matlab\/import_export\/load-parts-of-variables-from-mat-files.html\">https:\/\/mathworks.com\/help\/matlab\/import_export\/load-parts-of-variables-from-mat-files.html<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cockpit provides several options for saving signals acquired by imperix controllers. This article provides information on the common structure of MAT files generated by Cockpit&#8230;<\/p>\n","protected":false},"author":18,"featured_media":28698,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[13,3],"tags":[],"software-environments":[103],"provided-results":[],"related-products":[50,51],"guidedreadings":[],"tutorials":[],"user-manuals":[140],"coauthors":[93],"class_list":["post-25057","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-going-further-acg-sdk","category-help","software-environments-matlab","related-products-acg-sdk","related-products-cpp-sdk","user-manuals-imperix-cockpit"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Working with MAT files generated by Cockpit - imperix<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Working with MAT files generated by Cockpit - imperix\" \/>\n<meta property=\"og:description\" content=\"Cockpit provides several options for saving signals acquired by imperix controllers. This article provides information on the common structure of MAT files generated by Cockpit...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit\" \/>\n<meta property=\"og:site_name\" content=\"imperix\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-27T14:21:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-29T12:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/3_2_ratio_PN141.png\" \/>\n\t<meta property=\"og:image:width\" content=\"450\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mateja Ili\u0107\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mateja Ili\u0107\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit\"},\"author\":{\"name\":\"Mateja Ili\u0107\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#\\\/schema\\\/person\\\/d1ee9a0e69f5f9e0e7a17f73a43c7558\"},\"headline\":\"Working with MAT files generated by Cockpit\",\"datePublished\":\"2024-02-27T14:21:38+00:00\",\"dateModified\":\"2026-07-29T12:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit\"},\"wordCount\":901,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/3_2_ratio_PN141.png\",\"articleSection\":[\"Going further with ACG SDK\",\"Product notes\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit\",\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit\",\"name\":\"Working with MAT files generated by Cockpit - imperix\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/3_2_ratio_PN141.png\",\"datePublished\":\"2024-02-27T14:21:38+00:00\",\"dateModified\":\"2026-07-29T12:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit#primaryimage\",\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/3_2_ratio_PN141.png\",\"contentUrl\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/3_2_ratio_PN141.png\",\"width\":450,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/mat-files-cockpit#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Knowledge base\",\"item\":\"https:\\\/\\\/imperix.com\\\/doc\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Product notes\",\"item\":\"https:\\\/\\\/imperix.com\\\/doc\\\/category\\\/help\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Working with MAT files generated by Cockpit\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#website\",\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/\",\"name\":\"imperix\",\"description\":\"power electronics\",\"publisher\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/imperix.com\\\/doc\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#organization\",\"name\":\"imperix\",\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/imperix_logo.png\",\"contentUrl\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/imperix_logo.png\",\"width\":350,\"height\":120,\"caption\":\"imperix\"},\"image\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#\\\/schema\\\/person\\\/d1ee9a0e69f5f9e0e7a17f73a43c7558\",\"name\":\"Mateja Ili\u0107\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7936a0da3bab4f34015836e0c69e60b99617dd1982500a0d2e9f3d21837fb50b?s=96&d=mm&r=g5d0e4c6de0072da89ac175b57e90b3f1\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7936a0da3bab4f34015836e0c69e60b99617dd1982500a0d2e9f3d21837fb50b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7936a0da3bab4f34015836e0c69e60b99617dd1982500a0d2e9f3d21837fb50b?s=96&d=mm&r=g\",\"caption\":\"Mateja Ili\u0107\"},\"description\":\"Mateja is a software development engineer at imperix. He is working mainly on the Cockpit monitoring software.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/mateja-ilic-29ba52229\\\/\"],\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/author\\\/ilic\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Working with MAT files generated by Cockpit - imperix","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit","og_locale":"en_US","og_type":"article","og_title":"Working with MAT files generated by Cockpit - imperix","og_description":"Cockpit provides several options for saving signals acquired by imperix controllers. This article provides information on the common structure of MAT files generated by Cockpit...","og_url":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit","og_site_name":"imperix","article_published_time":"2024-02-27T14:21:38+00:00","article_modified_time":"2026-07-29T12:00:00+00:00","og_image":[{"width":450,"height":300,"url":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/3_2_ratio_PN141.png","type":"image\/png"}],"author":"Mateja Ili\u0107","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mateja Ili\u0107","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit#article","isPartOf":{"@id":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit"},"author":{"name":"Mateja Ili\u0107","@id":"https:\/\/imperix.com\/doc\/#\/schema\/person\/d1ee9a0e69f5f9e0e7a17f73a43c7558"},"headline":"Working with MAT files generated by Cockpit","datePublished":"2024-02-27T14:21:38+00:00","dateModified":"2026-07-29T12:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit"},"wordCount":901,"commentCount":0,"publisher":{"@id":"https:\/\/imperix.com\/doc\/#organization"},"image":{"@id":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit#primaryimage"},"thumbnailUrl":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/3_2_ratio_PN141.png","articleSection":["Going further with ACG SDK","Product notes"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/imperix.com\/doc\/help\/mat-files-cockpit#respond"]}]},{"@type":"WebPage","@id":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit","url":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit","name":"Working with MAT files generated by Cockpit - imperix","isPartOf":{"@id":"https:\/\/imperix.com\/doc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit#primaryimage"},"image":{"@id":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit#primaryimage"},"thumbnailUrl":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/3_2_ratio_PN141.png","datePublished":"2024-02-27T14:21:38+00:00","dateModified":"2026-07-29T12:00:00+00:00","breadcrumb":{"@id":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/imperix.com\/doc\/help\/mat-files-cockpit"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit#primaryimage","url":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/3_2_ratio_PN141.png","contentUrl":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2024\/02\/3_2_ratio_PN141.png","width":450,"height":300},{"@type":"BreadcrumbList","@id":"https:\/\/imperix.com\/doc\/help\/mat-files-cockpit#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Knowledge base","item":"https:\/\/imperix.com\/doc\/"},{"@type":"ListItem","position":2,"name":"Product notes","item":"https:\/\/imperix.com\/doc\/category\/help"},{"@type":"ListItem","position":3,"name":"Working with MAT files generated by Cockpit"}]},{"@type":"WebSite","@id":"https:\/\/imperix.com\/doc\/#website","url":"https:\/\/imperix.com\/doc\/","name":"imperix","description":"power electronics","publisher":{"@id":"https:\/\/imperix.com\/doc\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/imperix.com\/doc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/imperix.com\/doc\/#organization","name":"imperix","url":"https:\/\/imperix.com\/doc\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/imperix.com\/doc\/#\/schema\/logo\/image\/","url":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/imperix_logo.png","contentUrl":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/imperix_logo.png","width":350,"height":120,"caption":"imperix"},"image":{"@id":"https:\/\/imperix.com\/doc\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/imperix.com\/doc\/#\/schema\/person\/d1ee9a0e69f5f9e0e7a17f73a43c7558","name":"Mateja Ili\u0107","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7936a0da3bab4f34015836e0c69e60b99617dd1982500a0d2e9f3d21837fb50b?s=96&d=mm&r=g5d0e4c6de0072da89ac175b57e90b3f1","url":"https:\/\/secure.gravatar.com\/avatar\/7936a0da3bab4f34015836e0c69e60b99617dd1982500a0d2e9f3d21837fb50b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7936a0da3bab4f34015836e0c69e60b99617dd1982500a0d2e9f3d21837fb50b?s=96&d=mm&r=g","caption":"Mateja Ili\u0107"},"description":"Mateja is a software development engineer at imperix. He is working mainly on the Cockpit monitoring software.","sameAs":["https:\/\/www.linkedin.com\/in\/mateja-ilic-29ba52229\/"],"url":"https:\/\/imperix.com\/doc\/author\/ilic"}]}},"_links":{"self":[{"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/posts\/25057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/comments?post=25057"}],"version-history":[{"count":90,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/posts\/25057\/revisions"}],"predecessor-version":[{"id":47571,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/posts\/25057\/revisions\/47571"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/media\/28698"}],"wp:attachment":[{"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/media?parent=25057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/categories?post=25057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/tags?post=25057"},{"taxonomy":"software-environments","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/software-environments?post=25057"},{"taxonomy":"provided-results","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/provided-results?post=25057"},{"taxonomy":"related-products","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/related-products?post=25057"},{"taxonomy":"guidedreadings","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/guidedreadings?post=25057"},{"taxonomy":"tutorials","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/tutorials?post=25057"},{"taxonomy":"user-manuals","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/user-manuals?post=25057"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/coauthors?post=25057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}