In 2007b, block paths having more than 1290 characters are not recognized.

Hello,
When using open_system command in R2007a, for block paths having more than 1290 characters, 'path does not exist' error is given.
Although this error is not given in R2011a.
Please advice.

Answers (1)

I am not sure if such limitation exists, even in R2007a. Let's see if it is something else.
I assume you want to open a subsystem block deep in a hierarchy. Let's try the opposite way. In your model, browse down to that block and select that block, then in Command Window,
BlockPath=gcb;
length(BlockPath);
find_system(BlockPath)
What do you get?

This question is closed.

Products

Asked:

on 27 Dec 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!