wellcome_공부일기

Warning: Variable 'Udrc' originally saved as a PhysUnits cannot be instantiated as an object and will be read in as a uint32. 본문

카테고리 없음

Warning: Variable 'Udrc' originally saved as a PhysUnits cannot be instantiated as an object and will be read in as a uint32.

ma_heroine 2021. 12. 8. 13:31

The issue is due to the fact that you are trying to load a saved object when the class definition file is no longer on the MATLAB path.(below link)

load C:/juyeon/APL_stim_recon/drc_analysis.mat Udrc
U = Udrc;

%>> load C:/juyeon/APL_stim_recon/drc_analysis.mat Udrc
%U = Udrc;
%Warning: Variable 'Udrc' originally saved as a PhysUnits cannot be instantiated as an object and will be read in as a uint32

https://kr.mathworks.com/matlabcentral/answers/653108-variable-data-originally-saved-as-a-dat-cannot-be-instantiated-as-an-object-and-will-be-read-in-as

 

Variable 'data' originally saved as a dat cannot be instantiated as an object and will be read in as a uint32 -

 

kr.mathworks.com

 

다 아니고!!!

아래처럼 해보니 되었다..필요한 라이브러리 폴더인 lib을 genpath로 addpath를 다 설정해주니...

% Plot stacked raster psth for toneset
addpath(genpath('C:\juyeon\APL_stim_recon\lib'))
% load /Users/gunsoo/Mouse/ICrecon/drc_analysis.mat Udrc
load C:/juyeon/APL_stim_recon/drc_analysis.mat Udrc
Comments