답변 있음
Subsystem(Mask)
You can create an InitFcn <http://www.mathworks.com/help/toolbox/simulink/ug/f4-122589.html#f4-45560 Block Callback Function> on...

대략 14년 전 | 0

| 수락됨

답변 있음
The RTW of simulink and adams
It looks like the Adams co-simulation blocks are not supported for code-generation.

대략 14년 전 | 0

| 수락됨

답변 있음
Function calls between s-functions in simulink
You are asking a somewhat difficult question - it's hard to tell how breaking down your code into S-functions will work without ...

대략 14년 전 | 1

답변 있음
Starting model simulation from word file or poer point file.
You can invoke MATLAB as a <http://www.mathworks.com/help/releases/R2011b/techdoc/matlab_external/f135590.html COM Server> from ...

대략 14년 전 | 1

답변 있음
%#function for feval
I think you are asking what you should do in a situation where the %#function pragma cannot be specified like in the example cod...

대략 14년 전 | 0

답변 있음
Build Problem
I am a little confused - rtvdp is the demo model used for the Real-Time Windows Target product (the System Target File that is u...

대략 14년 전 | 0

답변 있음
Change data type in matlab
Not sure if I understand your question correctly, but to create an int8 value in MATLAB, you simply need to use: >> x = ...

대략 14년 전 | 0

답변 있음
How to add MEX files to a custom library
I'm assuming that $matlabroot/toolbox/mylibrary has already been added to your MATLAB path since you say that your library shows...

대략 14년 전 | 0

답변 있음
mex crash with fftw calls
I don't have any experience with this, but my only guess is that your code is somehow not playing well with the FFTW libraries w...

대략 14년 전 | 0

답변 있음
various mex file problems
Is MATLAB starting in C:\Windows\system32 by any chance? See <http://www.mathworks.com/support/solutions/en/data/1-69H204/index....

대략 14년 전 | 0

| 수락됨

답변 있음
Target Block Builder Tool
Did you have specific questions about the tool? If you have Simulink Coder installed, the documentation has a demo that has a pr...

대략 14년 전 | 0

답변 있음
External dll in Matlab works fine on Windows 7 build 7601 and do not work on Windows 7 build 7600 ?!
Looks like you are getting a SegV - this could be due to a bug in your DLL code. I would recommend debugging your DLL using Visu...

대략 14년 전 | 0

답변 있음
PROBLEM SIMULINK CONNECTING BLOCKS
You cannot connect Simulink components to SimScape (SimElectronics) components. Try using the <http://www.mathworks.com/help/rel...

대략 14년 전 | 3

| 수락됨

답변 있음
S-Function using printf in mdlStart
You need to use <http://www.mathworks.com/help/toolbox/simulink/sfg/ssprintf.html ssPrintf>.

대략 14년 전 | 1

답변 있음
How to restore defalut settings in simulink preferences?
Not completely sure, but this might work: <http://www.mathworks.com/support/solutions/en/data/1-1BG1C/index.html How do I regene...

대략 14년 전 | 0

| 수락됨

답변 있음
please help
If the signal is a vector, then yes, you can use the Select block to pick any element of that vector.

대략 14년 전 | 0

답변 있음
Using the while iteration block
I explained a little bit <http://www.mathworks.com/matlabcentral/answers/27443-my-variables-in-workspace-are-updated-but-not-on-...

대략 14년 전 | 0

답변 있음
Function call use in an Embedded MATLAB Function block
# I don't think the Demux block works with function-call signals. Try the <http://www.mathworks.com/help/toolbox/simulink/slref/...

대략 14년 전 | 0

| 수락됨

답변 있음
Assigning Flags to signals in stateflow
Perhaps you could convert each of your signals to a structure with two fields - one that contains the value at that time-step an...

대략 14년 전 | 0

| 수락됨

답변 있음
how to correct error, in running the cosimulation block in matlab simulink
What is the VSIM command that you use to start up the EDA Tool? I would recommend trying one of the demos to make sure if there ...

대략 14년 전 | 0

답변 있음
How to build multiple S-Functions from S-Function Builder at once
You could write MATLAB code that loops over all the S-Function Builder blocks in your model and builds them using the commands l...

대략 14년 전 | 3

| 수락됨

답변 있음
Matlab Coder to target specific hardware
Does your function have any input arguments, if yes, do you use the codegen "-args" option to provide example inputs? If yes, ha...

대략 14년 전 | 0

답변 있음
MATLAB:I18n:MissingICUData - ICU data not found
See if this answer is relevant: http://www.mathworks.com/matlabcentral/answers/372-linking-c-with-matlab

대략 14년 전 | 0

답변 있음
Moving Simulink Data Into the workspace
Assuming that you're using the SIM command to run the model from your GUI, you need to set the SrcWorkspace and DstWorkspace opt...

대략 14년 전 | 6

| 수락됨

답변 있음
If I run separate instances of Simulink, will set_param affect all instances?
As long as you don't save the changes to the model, it shouldn't affect any concurrent sessions.

대략 14년 전 | 0

| 수락됨

답변 있음
Can I use ubuntu to compile mexFunction and run it on windows?
Not unless you have a compiler on Ubuntu that can produce a Windows binary. Also, you will need to get the MEX command to work w...

대략 14년 전 | 0

| 수락됨

답변 있음
code generation using Embedded Coder
I've not done this recently, but in the past, I have been able to generate code for TI targets without the hardware connected. I...

대략 14년 전 | 0

| 수락됨

답변 있음
"Variable time delay" block in "For Each Subsystem"
The For Each Subsystem does not support the Variable Time Delay block at this time. Is it possible to pull the delay block outsi...

대략 14년 전 | 2

| 수락됨

답변 있음
Writing Workspace with M file
You can write your MATLAB code in <http://www.mathworks.com/help/toolbox/simulink/ug/f4-122589.html#f4-45560 Block Callback Func...

대략 14년 전 | 0

더 보기