Hi,
I have simulated a DAC model using Simulink. It runs perfectly fine, as long as I am concerned with just getting an analog output. Now, I want to integrate an M-file into it which would give me the FFT of the output. For this I have introduced the Embedded MATLAB function block in my model (containing the code for generating FFT). Now, when I run the same model( with the additional Embedded MATLAB function block added) I get the following error: "Target Function library is missing or does not contain a valid TFL table". I have faced this error before and its really annoying. Plus I have tried to use "restoredefaultpath" but I don't want to work from the default path.
PLease resolve.
Regards, Sharjeel.

 採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 7 月 12 日

0 投票

Is it the same error as this? Have you tried just:
rehash toolboxcache
rehash toolboxreset
This won't override your path settings. (Unless your MATLAB toolbox-related paths have been tampered with, you shouldn't need to run "restoredefaultpath")

3 件のコメント

Sharjeel
Sharjeel 2011 年 7 月 13 日
I actually found the way around..thanks anyways..!
Kaustubha Govind
Kaustubha Govind 2011 年 7 月 13 日
Sharjeel: Please post your solution if possible so other users can benefit in the future. :)
birk777
birk777 2012 年 11 月 20 日
編集済み: birk777 2012 年 11 月 20 日
Rehash hasn't worked for me... so I am interested in the "work around". Hopefully you are still around!
btw: restoredefaultpath neither! (using 2011b and OS Win7 64-bit)

サインインしてコメントする。

その他の回答 (1 件)

Sebastian
Sebastian 2013 年 12 月 13 日

1 投票

Sharjeel: I really need that solution you have. the other solutions hasn't worked.
thanks

質問済み:

2011 年 7 月 12 日

回答済み:

2013 年 12 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by