Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with referenced subsystems #2

Open
Mikitolakatunga opened this issue Nov 17, 2021 · 1 comment
Open

Not compatible with referenced subsystems #2

Mikitolakatunga opened this issue Nov 17, 2021 · 1 comment

Comments

@Mikitolakatunga
Copy link

It outputs an error when generating documentation for a model containgn referenced subsystems

for variable = requiredVariables assert(logical(exist(variable{1},'var')), 'Report generation failed in %s.\n%s not defined.', filename, variable{1}); end

@ekasilicon14
Copy link

Working on bug fix. It seems that the issue is due to one of the files in utilities, Simulink-Utility\DataflowTracing\inoutblock2subport.m, not working. Suspect it is due to a Matlab bug where changing the pwd from the Simulink model's directory causes find_system() to return different systems compared to if the pwd is in the model's directory.

While the bug fix is going online, try running the documenter but make sure the pwd is the same as the Simulink model path and also re-open the simulink model once the pwd and model directory match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants