issues in add_block in matlab

I am using my own library. My Library Name is "MTOR Library". I am trying to add a inport block which is in the library. My code is like this :
"add_block('MTOR Library/Documentation/Inport','tempmdl/In001')"
But it throws an error:
??? There is no block named 'MTOR Library/Documentation/Inport'.
I removed the space in between MTOR and Library. But it's not working

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Event Functions 的更多信息

提问:

2012-8-7

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by