Using matfile objects as input parameters
显示 更早的评论
I was wondering if a matfile object can be used as an input parameter for any matlab function, like in the following example:
distances = matfile(output_file,'Writable',true);
distances.D = zeros(1,N*(N-1)/2);
%Compute distances and store them in distances.D
% Applying multidimensional scaling to the distances matrix
[Y,eigvals] = cmdscale(D);
Is that possible? What about operators like distances.D*distances.D? Or should I reimplement matlab functions and operators again if I am using this kind of objects?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!