After converting struct to table using struct2table
function in Matlab, the variable names can be removed using the removevars
function. Here's an example:
main.m258 chars13 lines
In this example, the removevars
function removes the default variable names Var1
and Var2
assigned by struct2table
to the two fields of the structure.
gistlibby LogSnag