Error evaluating init fcn callback
Mostra commenti meno recenti
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
Risposte (0)
Categorie
Scopri di più su Model, Block, and Port Callbacks in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!