Where to save a downloaded block in R2007b?

I have download an Real Time Block from the mathworks site for using in Simulink, I extracted the zip file an have several files with several extension. But I don't know in which directory I have to save them?

1 Comment

Please give more details.
What do you mean by 'Real Time Block'. Have you simulink library to be added in simulink browser?
Which are the other files?

Sign in to comment.

 Accepted Answer

You can extract the zip file to any folder you like. The file extension is likely to be .mdl if it is for Simulink.
Then you can either,
1. After launching MATLAB, change your MATLAB current directory to that folder, then you can open that .mdl file
2. Add that folder to your MATLAB path. Click menu File->Set Path... Then you'll be able to run that .mdl file anywhere in MATLAB.

2 Comments

Thank you.
I saved it in the matlab directory and then I can run it.
Before starting it gives always a warning: "Block 'built-in/timer function' already has a built in parameter 'priority'. Hence a mask parameter of the same name cannot be added." With three links to the C++ source. Maybe a suggestion?
I guess this is a customized library block. The message says it all. A customer mask parameter 'priority' is conflicting with the built-in parameter with the exact same name. It'll be hard to give a solution. I suggest you contacting the author or the source.

Sign in to comment.

More Answers (1)

Thank you. I saved it in the matlab directory and then I can run it. Before starting it gives always a warning: "Block 'built-in/timer function' already has a built in parameter 'priority'. Hence a mask parameter of the same name cannot be added." With three links to the C++ source. Maybe a suggestion?

Tags

Community Treasure Hunt

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

Start Hunting!