GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
matlab_writter_helper.h File Reference

Utility functions for logging to a matlab file. More...

#include <matio.h>
#include <array>

Go to the source code of this file.

Classes

struct  matlab_type_traits< int32_t >
struct  matlab_type_traits< uint32_t >
struct  matlab_type_traits< uint8_t >
struct  matlab_type_traits< int64_t >
struct  matlab_type_traits< uint64_t >
struct  matlab_type_traits< float >
struct  matlab_type_traits< double >

Functions

template<size_t Rank, typename T>
void write_matlab_var (const char *name, T data, mat_t *matfp, std::array< size_t, 2 > &dims)
template<size_t Rank, typename T>
void write_matlab_var (const char *name, T *data, mat_t *matfp, std::array< size_t, 2 > &dims)

Detailed Description

Utility functions for logging to a matlab file.

Authors
  • Mathieu Favreau, 2025. favreau.mathieu(at)hotmail.com

GNSS-SDR is a Global Navigation Satellite System software-defined receiver. This file is part of GNSS-SDR.

Copyright (C) 2010-2025 (see AUTHORS file for a list of contributors) SPDX-License-Identifier: GPL-3.0-or-later


Definition in file matlab_writter_helper.h.

Function Documentation

◆ write_matlab_var() [1/2]

template<size_t Rank, typename T>
void write_matlab_var ( const char * name,
T * data,
mat_t * matfp,
std::array< size_t, 2 > & dims )

Definition at line 89 of file matlab_writter_helper.h.

◆ write_matlab_var() [2/2]

template<size_t Rank, typename T>
void write_matlab_var ( const char * name,
T data,
mat_t * matfp,
std::array< size_t, 2 > & dims )

Definition at line 79 of file matlab_writter_helper.h.