@Jan, you've had some pretty valuable responses to some of my posts. What do you think about this problem? I've actually had a small handful of problems that have this exact same behavior. On one occasion I had a function that added some folders to the path and then on the next line I tried to execute a function in one of those folders and Matlab would error, saying it doesn't exist. However just like in this case, if I set a breakpoint and stepped through it it worked fine.
Possible race condition with builddocsearchdb
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I am running R2017b and I am trying to programmatically generate help document databases so my code can be searched from the doc browser. I've followed all the steps to publish all functions, generate info.xml, and generate helptoc.xml. Once I have all those in place I should be able to run builddocsearchdb. When I run my function that accomplishes all of the listed steps I get errors saying "There is no installed product with this help location.". However if I set a breakpoint in my code and step over each call to builddocsearchdb it works fine. I suspect there's a race condition but I've spent all day trying to resolve it unsuccessfully. I could really use some help on this.
Attached is the file to run and a zip file that needs to be extracted. The folder that contains the extracted files are what you select in the dialog once you've ran generate_help_databases_recursively.m.
Respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!