matIO_mod Module

module~~matio_mod~~UsesGraph module~matio_mod matIO_mod iso_c_binding iso_c_binding iso_c_binding->module~matio_mod
Help

Module to write MATLAB's mat file (version 4 only)

Used By

module~~matio_mod~~UsedByGraph module~matio_mod matIO_mod program~testmatio_prg testMatIO_prg module~matio_mod->program~testmatio_prg
Help


Interfaces

public interface v2m

Convert a vector into a matrix

  • private function v2m_i2(v) result(o)

    Arguments

    Type IntentOptional AttributesName
    integer(kind=c_int16_t), intent(in), dimension(:):: v

    Return Value integer(kind=c_int16_t), dimension(size(v),1)

  • private function v2m_i4(v) result(o)

    Arguments

    Type IntentOptional AttributesName
    integer(kind=c_int32_t), intent(in), dimension(:):: v

    Return Value integer(kind=c_int32_t), dimension(size(v),1)

  • private function v2m_r4(v) result(o)

    Arguments

    Type IntentOptional AttributesName
    real(kind=c_float), intent(in), dimension(:):: v

    Return Value real(kind=c_float), dimension(size(v),1)

  • private function v2m_r8(v) result(o)

    Arguments

    Type IntentOptional AttributesName
    real(kind=c_double), intent(in), dimension(:):: v

    Return Value real(kind=c_double), dimension(size(v),1)

  • private function v2m_z4(v) result(o)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=c_float_complex), intent(in), dimension(:):: v

    Return Value complex(kind=c_float_complex), dimension(size(v),1)

  • private function v2m_z8(v) result(o)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=c_double_complex), intent(in), dimension(:):: v

    Return Value complex(kind=c_double_complex), dimension(size(v),1)

public interface writeMat

Write a matrix into a file

  • private subroutine writeMat_i2(fn, an, A, new)

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: fn
    character(len=*), intent(in) :: an
    integer(kind=c_int16_t), intent(in), dimension(:,:):: A
    logical, intent(in), optional :: new
  • private subroutine writeMat_i4(fn, an, A, new)

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: fn
    character(len=*), intent(in) :: an
    integer(kind=c_int32_t), intent(in), dimension(:,:):: A
    logical, intent(in), optional :: new
  • private subroutine writeMat_r4(fn, an, A, new)

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: fn
    character(len=*), intent(in) :: an
    real(kind=c_float), intent(in), dimension(:,:):: A
    logical, intent(in), optional :: new
  • private subroutine writeMat_r8(fn, an, A, new)

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: fn
    character(len=*), intent(in) :: an
    real(kind=c_double), intent(in), dimension(:,:):: A
    logical, intent(in), optional :: new
  • private subroutine writeMat_z4(fn, an, A, new)

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: fn
    character(len=*), intent(in) :: an
    complex(kind=c_float_complex), intent(in), dimension(:,:):: A
    logical, intent(in), optional :: new
  • private subroutine writeMat_z8(fn, an, A, new)

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: fn
    character(len=*), intent(in) :: an
    complex(kind=c_double_complex), intent(in), dimension(:,:):: A
    logical, intent(in), optional :: new