답변 있음
How to set "From workspace"
Please make sure that your data is in the format required by the block as specified in the <http://www.mathworks.com/help/simuli...

12년 초과 전 | 0

답변 있음
How to get xml-Data in Simulink
I'd recommend that you use an <http://www.mathworks.com/help/simulink/slref/interpretedmatlabfunction.html Interpreted MATLAB Fu...

12년 초과 전 | 0

답변 있음
How to compile Simulink models before doing simulation?
You can use the <http://www.mathworks.com/help/simulink/slref/model_cmd.html modelname> command to compile the model. For exampl...

12년 초과 전 | 5

| 수락됨

답변 있음
How to run MATLAB function and Simulink model simultaneously?
You can run MATLAB code "simultaneously" with a model only by running it as part of the simulation loop. This can be done by inv...

12년 초과 전 | 0

| 수락됨

답변 있음
About controlling Simulink model execution at run time
You might want to use the <http://www.mathworks.com/help/simulink/slref/stopsimulation.html Stop> block to build the stop logic ...

12년 초과 전 | 0

| 수락됨

답변 있음
How to replace a block in Simulink?
You'll need to use a combination of <http://www.mathworks.com/help/simulink/slref/add_block.html add_block>, <http://www.mathwor...

12년 초과 전 | 1

답변 있음
simulink block having lower output refresh rate than input
Yes, it is possible to write S-functions that have different sample rates at the ports. Type "sfcndemo_sfun_multirate" at the MA...

12년 초과 전 | 0

| 수락됨

답변 있음
How to change Upper and Lower saturation limits of Discrete Integrator on the run?
Just follow it up with a <http://www.mathworks.com/help/simulink/slref/saturationdynamic.html Saturation Dynamic> block.

12년 초과 전 | 0

답변 있음
Sample time of function call subsystem in state chart
The error is basically complaining that in the Simulink Functions 'Homing' and 'Operating', you have non-constant or non-inherit...

12년 초과 전 | 0

| 수락됨

답변 있음
how to save simulink block diagram as pdf ?
Do you just want an image of the top-level model to be exported to a PDF file? If yes, I think you can just use the File>Print o...

12년 초과 전 | 0

| 수락됨

답변 있음
How do I update Simulink model parameters during a simulation?
In general, what you're doing is considered bad practice. To understand why, please read <http://blogs.mathworks.com/seth/2011/0...

12년 초과 전 | 5

| 수락됨

답변 있음
Simulink block diagram has issues with function blocks in R2013a, not R2012.
To follow the Upgrade Advisor, open up the MATLAB Function block's <http://www.mathworks.com/help/simulink/ug/matlab-function-bl...

12년 초과 전 | 0

답변 있음
i want to convert (.slx) format to (.mdl)format at this link: http://www.mediafire.com/?c5p02776wo6ly66
If you have R2012a or a newer version, you can use 'Save As...' on the model to do the conversion.

12년 초과 전 | 0

답변 있음
Matlab Function Block with error generated by Stateflow
The MATLAB Function block and Stateflow share some common infrastructure, which is why you will sometimes see error messages as ...

12년 초과 전 | 1

| 수락됨

답변 있음
Running C S-Functions in a Different Matlab/Simulink Version?
The model .slx format was introduced in R2012a, so older versions don't know how to read it. Please use "Save As.." to save it a...

12년 초과 전 | 0

답변 있음
How to diplay the printf statement which is written in S-function?
You can use <http://www.mathworks.com/help/simulink/sfg/ssprintf.html ssPrintf>.

12년 초과 전 | 0

| 수락됨

답변 있음
How to invoke a level 2-s function's callback method from an external .m file?
Why not call external.m and assign the outputs to local variables, and then assign those to the outputs: [val1, val2] = ext...

12년 초과 전 | 0

답변 있음
automatic change a block number in a mask, coming from simulink library, when I drag it more than onetime in my working space
You can typically perform operations on block copy using the CopyFcn callback of the block. See <http://www.mathworks.com/help/s...

12년 초과 전 | 0

| 수락됨

답변 있음
How can I remove the hook added by "addUserHook" in Simulink
I'm guessing that happens because your sl_customization.m file is on the MATLAB path. You need to either add the hook conditiona...

12년 초과 전 | 0

답변 있음
In the subsystem mask help in Simulink, how to access pictures in the same folder as the model?
Is the 'mask_help/image.png' relative to the path when your Simulink library exists? If so, perhaps you can find the exact path ...

12년 초과 전 | 0

| 수락됨

답변 있음
Matlab Coder and CCS
Please see <http://www.mathworks.com/matlabcentral/answers/29644 this previously answered question>.

12년 초과 전 | 0

| 수락됨

답변 있음
Simulink run error "Cannot activate configuration set" in R2012b
What setting do you have under the 'Hardware Implementation' pane on the Configuration Parameters window for "Device vendor" and...

12년 초과 전 | 0

답변 있음
How to sort an array efficiently in Simulink?
If you have a license to the DSP System Toolbox, you can use the <http://www.mathworks.com/help/dsp/ref/sort.html Sort> block. O...

12년 초과 전 | 0

| 수락됨

답변 있음
How can I build code for a Level-2 M S-function block in Simulink such that it runs on the xPC real-time target?
If your MATLAB code only uses functions/constructs <http://www.mathworks.com/help/simulink/ug/functions-supported-for-code-gener...

12년 초과 전 | 0

답변 있음
Systematically pause Simulink model and continue from Matlab command line
What kind of data handling would you like to do in MATLAB? You might want to look at <http://www.mathworks.com/help/simulink/ug/...

12년 초과 전 | 1

| 수락됨

답변 있음
mex @rsp_file (windows) commenting
The pound (#) symbol usually denotes comments in MEX options files.

12년 초과 전 | 0

답변 있음
How do you store output data in a text file during simulation ?
You might need to write a custom block (perhaps using a MATLAB S-function) to do the logging to a text file for you. I don't thi...

12년 초과 전 | 0

답변 있음
Code to obtain origin and destinations of unions on Simulink
Just to clarify - did you mean structure, and not union? If structure, please see <http://www.mathworks.com/help/simulink/ug...

12년 초과 전 | 0

답변 있음
what is the difference between simulink objects and mpt objects
This <http://www.mathworks.com/matlabcentral/answers/50283 previous answer> might be of help.

12년 초과 전 | 1

| 수락됨

답변 있음
C/C++ wrapper to invoke SIMULINK model/libraries in external software designs
It is possible to generate a standalone C/C++ shared library from your Simulink model if you have an Embedded Coder license, whi...

12년 초과 전 | 0

더 보기