Added code to switch pwd to path of simulink model at start of GenSDD.m script.
Bug fix also requires change to code in the Simulink-Utilities sub project.
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. This applies to a file in the utilities folder at the path Simulink-Utility\DataflowTracing\inoutblock2subport.m
Added code to switch pwd to path of simulink model at start of GenSDD.m script.
Bug fix also requires change to code in the Simulink-Utilities sub project.
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. This applies to a file in the utilities folder at the path Simulink-Utility\DataflowTracing\inoutblock2subport.m