Re: Read/Write Matlab files in fortran



Hm, I guess my relative infamiliarity with MATLAB is showing. But I
would
say: hide the details:

- Provide FMat_VarReadInfo() to check a variable is present like this:

err = FMat_HasVariable( handle, varname )

- Provide a generic name to retireve the values:

err = FMat_GetVariable( handle, varname, value )

Or something along those lines (handle hides everything the user is
not interested in)

Regards,

Arjen

.



Relevant Pages

  • GPIB interfacing problem
    ... communication between the camera and Matlab/labview is GPIB. ... DOES NOT WORK in the matlab code. ... err = ibwrt; ...
    (comp.soft-sys.matlab)
  • Re: root finding, digits, error drop
    ... discard the result of the computation without displaying it because ... running a vpa calculation and then discarding the results?? ... does not somehow tell matlab that you ... want err to become a variable represented with 50 decimal places: ...
    (comp.soft-sys.matlab)
  • Re: display variable name and value on the same line
    ... when I juste write the name of a variable in a script ... matlab displays this ... varname= value ... You can overload the display function for doubles, ...
    (comp.soft-sys.matlab)
  • Re: Chris White
    ... I'd much rather them err too much on the side of caution than not. ... showing any attributions. ...
    (rec.sport.rugby.union)
  • display variable name and value on the same line
    ... when I juste write the name of a variable in a script ... matlab displays this ... varname= value ...
    (comp.soft-sys.matlab)