Error evaluating init fcn callback
Afficher commentaires plus anciens
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
Réponses (0)
Catégories
En savoir plus sur Model, Block, and Port Callbacks dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!