UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor michawncarts
Visitor
411 Views
Registered: ‎08-13-2018

System Generator : Custom compilation target -> get model version and model path

Hallo community,

 

I am implementing a custom compilation target and I have the following question about it:

 

I overloaded the base class and in the function pre_project_creation(obj, design_info) I can get access to some kind of handle:

 

K>> design_info.top_level_simulink_handle

ans =

    7.0010

 

K>> class(design_info.top_level_simulink_handle)

ans =

    'double'

 

I would like to get the current model version and the path of the current model. So I try to get the real object handle from this design_info.top_level_simulink_handle which imho is not a normal handle because it has double as class.

 

Can anybody help me to convert it to the real handle to the model?

Other approaches to get the model version or the path to the current model are also welcome!

 

Thanks for your help!

michawncarts

0 Kudos