MarkB
Followers: 0 Following: 0
Feeds
답변 있음
Can we have single harness for MIL and SIL ?
If I understand the question correctly, you probably don't need to use two model blocks. I would propose the alternative of: Cr...
Can we have single harness for MIL and SIL ?
If I understand the question correctly, you probably don't need to use two model blocks. I would propose the alternative of: Cr...
10개월 전 | 0
답변 있음
Rate Transition with adjustable sampling rate
Dear Boru, Unfortunately, Simulink doesn't support changing sample times in the generated code. The underlying issue is that ...
Rate Transition with adjustable sampling rate
Dear Boru, Unfortunately, Simulink doesn't support changing sample times in the generated code. The underlying issue is that ...
5년 초과 전 | 0
답변 있음
How to customize the code interface of a function generated of a reference model
Dear Boru, If you have Embedded Coder, it is possible to control the entry points using the Function Prototype Control featur...
How to customize the code interface of a function generated of a reference model
Dear Boru, If you have Embedded Coder, it is possible to control the entry points using the Function Prototype Control featur...
5년 초과 전 | 0
| 수락됨
답변 있음
Simulink debugger and referenced models
I would recommend using a feature such as signal logging to monitor the values inside the model reference. It doesn't let you in...
Simulink debugger and referenced models
I would recommend using a feature such as signal logging to monitor the values inside the model reference. It doesn't let you in...
13년 초과 전 | 1
| 수락됨
답변 있음
Make error in compiling simulink 3d simulink file
I second Walter's theory about the writability of the directory. An easy way to check this would be to run MATLAB as administrat...
Make error in compiling simulink 3d simulink file
I second Walter's theory about the writability of the directory. An easy way to check this would be to run MATLAB as administrat...
13년 초과 전 | 1
| 수락됨
답변 있음
Recompiling an S function, altered results
I recommend checking to see if there are any differences in support for floating-point operations. Specifically, check to see if...
Recompiling an S function, altered results
I recommend checking to see if there are any differences in support for floating-point operations. Specifically, check to see if...
13년 초과 전 | 0
| 수락됨
답변 있음
signal builder: repeat a signal for n times in one simulation (not to be confused with running in succession)
I don't know of a good way to do this using "Signal Builder", but the "From Workspace" block allows you to specify repetition af...
signal builder: repeat a signal for n times in one simulation (not to be confused with running in succession)
I don't know of a good way to do this using "Signal Builder", but the "From Workspace" block allows you to specify repetition af...
13년 초과 전 | 0
답변 있음
Creating simulink block and hidding the code
The S-function approach is probably the right way to go. If you plan on distributing it, you would need to provide a ".mex" file...
Creating simulink block and hidding the code
The S-function approach is probably the right way to go. If you plan on distributing it, you would need to provide a ".mex" file...
13년 초과 전 | 0
답변 있음
Shared Utilities template file
I'm not sure if it's possible, but I would recommend looking at the customized file banners. I believe that there are different ...
Shared Utilities template file
I'm not sure if it's possible, but I would recommend looking at the customized file banners. I believe that there are different ...
13년 초과 전 | 0
답변 있음
accessing data from workspace
In addition to the FromWorkspace block, you can also use base workspace variables in most dialog boxes in Simulink. Also, if you...
accessing data from workspace
In addition to the FromWorkspace block, you can also use base workspace variables in most dialog boxes in Simulink. Also, if you...
13년 초과 전 | 1
답변 있음
Triggering a subsystem to run for set duration
Fangjun's approach is probably the best way if the interval between the 0.25 pulses is also known in advance. If it is not, I w...
Triggering a subsystem to run for set duration
Fangjun's approach is probably the best way if the interval between the 0.25 pulses is also known in advance. If it is not, I w...
13년 초과 전 | 0
답변 있음
summation
There are a couple options available: * You could chain a series of 64 unit delays together and run a branched signal off of ...
summation
There are a couple options available: * You could chain a series of 64 unit delays together and run a branched signal off of ...
13년 초과 전 | 0
답변 있음
Efficiency about Embedded Funtion in Simulink
The best way to do this is probably to use Accelerator Mode, or Rapid Accelerator mode. There is some overhead that occurs duri...
Efficiency about Embedded Funtion in Simulink
The best way to do this is probably to use Accelerator Mode, or Rapid Accelerator mode. There is some overhead that occurs duri...
13년 초과 전 | 0
답변 있음
Define Array data type
Fangjun is correct, the data type is independent of/orthogonal to the dimensions. You can also set the dimensions on most block...
Define Array data type
Fangjun is correct, the data type is independent of/orthogonal to the dimensions. You can also set the dimensions on most block...
13년 초과 전 | 0
| 수락됨
답변 있음
How do I load text stored in an external file and display it as an annotation in a Simulink models?
One possible way to do this is to use a mask on top of an empty subsystem instead of annotations. From there, you can use the m...
How do I load text stored in an external file and display it as an annotation in a Simulink models?
One possible way to do this is to use a mask on top of an empty subsystem instead of annotations. From there, you can use the m...
13년 초과 전 | 0
답변 있음
Import Workspace Data - Lookup Table vs. From Workspace?
As a third method, I would propose using an inport, and then specifying a workspace variable using the "Import/Export" section o...
Import Workspace Data - Lookup Table vs. From Workspace?
As a third method, I would propose using an inport, and then specifying a workspace variable using the "Import/Export" section o...
13년 초과 전 | 0
답변 있음
3d graphics with s-function
For testing, I would recommend Kaustubha's approach for creating an instance of "Example1" and then trying to use it. For the bi...
3d graphics with s-function
For testing, I would recommend Kaustubha's approach for creating an instance of "Example1" and then trying to use it. For the bi...
13년 초과 전 | 0
| 수락됨
답변 있음
S-function Runtime-evaluation of parameters
This should be possible if you take two steps inside the S-function: # You need to make the dialog parameters tuneable run-t...
S-function Runtime-evaluation of parameters
This should be possible if you take two steps inside the S-function: # You need to make the dialog parameters tuneable run-t...
13년 초과 전 | 0
답변 있음
Triggered subsystems at time t=0
Unfortunately, this sort of behavior is definitely impossible using only a triggered subsystem. Since the "edge" that triggers ...
Triggered subsystems at time t=0
Unfortunately, this sort of behavior is definitely impossible using only a triggered subsystem. Since the "edge" that triggers ...
13년 초과 전 | 0
답변 있음
Dynamically sized IO ports in simulink
The code above is mostly right, but there are some minor changes that you will need to make: * The calls to "mdlSetOutputPort...
Dynamically sized IO ports in simulink
The code above is mostly right, but there are some minor changes that you will need to make: * The calls to "mdlSetOutputPort...
13년 초과 전 | 1
| 수락됨
답변 있음
Subversion and mdl files
In general, doing text merges on ".mdl" files doesn't go well, so I would strongly advise against this. The primary issue is th...
Subversion and mdl files
In general, doing text merges on ".mdl" files doesn't go well, so I would strongly advise against this. The primary issue is th...
13년 초과 전 | 0
답변 있음
How to define parameters in Simulink ?
You may want to make "T" a state variable using work vectors. Within Simulink, blocks aren't able to influence/alter/change the...
How to define parameters in Simulink ?
You may want to make "T" a state variable using work vectors. Within Simulink, blocks aren't able to influence/alter/change the...
13년 초과 전 | 2
| 수락됨
답변 있음
How to determine if segmentation violation is caused by MATLAB function or user-defined function?
The general way to read a stack trace is that each row indicates a function call, and the top one is the deepest/most recent fun...
How to determine if segmentation violation is caused by MATLAB function or user-defined function?
The general way to read a stack trace is that each row indicates a function call, and the top one is the deepest/most recent fun...
13년 초과 전 | 0
| 수락됨
답변 있음
Simulink and COM (Component Object Model)
Fangjun is correct, you can only interface MATLAB through COM, but you *can* control Simulink from MATLAB, which could be enough...
Simulink and COM (Component Object Model)
Fangjun is correct, you can only interface MATLAB through COM, but you *can* control Simulink from MATLAB, which could be enough...
13년 초과 전 | 1
답변 있음
Synchronize data output with clock pulses.
I believe that the issue is with the "Enable" block inside the enabled subsystem. If you double-click on this block, you can ac...
Synchronize data output with clock pulses.
I believe that the issue is with the "Enable" block inside the enabled subsystem. If you double-click on this block, you can ac...
13년 초과 전 | 0
답변 있음
reading ASCII data from a file from s function
I suspect that this is only a subset of the code in the S-function, so it is a little difficult to tell if things are truly miss...
reading ASCII data from a file from s function
I suspect that this is only a subset of the code in the S-function, so it is a little difficult to tell if things are truly miss...
13년 초과 전 | 0
답변 있음
Get the Simulink block's handle of the block under the mouse
I don't believe that there is any way to detect a block that you are hovering over but haven't clicked. It is possible to detec...
Get the Simulink block's handle of the block under the mouse
I don't believe that there is any way to detect a block that you are hovering over but haven't clicked. It is possible to detec...
13년 초과 전 | 0
답변 있음
Logging of Merge block Inputs
I would recommend putting a "Signal Conversion" (not to be confused with Data Type Conversion) block immediately upstream from e...
Logging of Merge block Inputs
I would recommend putting a "Signal Conversion" (not to be confused with Data Type Conversion) block immediately upstream from e...
13년 초과 전 | 0
답변 있음
Access to the Matlab / simulink API
In conjunction with Kaustubha's point above about the automation server, the actual commands that you will want to run will like...
Access to the Matlab / simulink API
In conjunction with Kaustubha's point above about the automation server, the actual commands that you will want to run will like...
13년 초과 전 | 1
답변 있음
No supported Visual C/C++ compiler found. Check your installation of Visual C/C++.
I believe that this occurs if you are using Visual Studio Express. When Simulink creates a VS solution/project, it actually does...
No supported Visual C/C++ compiler found. Check your installation of Visual C/C++.
I believe that this occurs if you are using Visual Studio Express. When Simulink creates a VS solution/project, it actually does...
13년 초과 전 | 1
| 수락됨