Error evaluating init fcn callback
이전 댓글 표시
Hello i have a custom installed library. When i use the block from the libary in my simulink model , i got an error saying " Error evaluating 'InitFcn' callback of AMS ADC Interface block (mask). The code written in block properties for init fcn is as given :
app123 = getenv('EN_LIB_PATH');
app123=[app123 '\src'];
copyfile(app123,'.');
I think the EN_LIB_PATH should be replaced with the libary path. But I'm confused. Should I use the path to the folder/libary or the slblocks.m file ?
please get me a solution soon. matlab version : R2012a
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!