Error on matlab get_param

I'm generating tlc files from a model. In a specific point I'm getting this error when calling get_param:
>> get_param('FGCS_Sim', 'TargetFcnLibHandle')
??? Error using ==> getTfl at 30 TFL: "None" cannot be found in the registry.
Error in ==>
C:\MATLAB\R2008b\toolbox\rtw\rtw\@RTW\@TargetRegistry\getTflTableList.p>getTflTableList at 18
??? Target Function Library 'None' is missing or does not contain a valid TFL Table.
This error is occurring in `.p` file, so I can't see what's happening. But when I try with a different parameter name (one that does not exist), I get a "normal" error:
>> get_param('FGCS_Sim', 'foo_boo_bar')
??? block_diagram does not have a parameter named 'foo_boo_bar'.
What could be happening?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Model, Block, and Port Callbacks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by