Error evaluating init fcn callback
Mostrar comentarios más antiguos
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
Respuestas (0)
Categorías
Más información sobre Model, Block, and Port Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!