답변 있음
MATLAB Builder JA (R2012a) application running on Solaris 10 (5.10 Generic_144500-19)
AFAIK, Solaris is not a <http://www.mathworks.com/support/sysreq/current_release/ supported platform> for MATLAB in general. So ...

거의 14년 전 | 1

답변 있음
How to build .m files into .mex files correctly
Shared libraries generating using MATLAB Compiler are meant for deploying on a machine that does not have MATLAB installed - thi...

거의 14년 전 | 0

| 수락됨

답변 있음
continuous signal delay
Feed p(k) into the <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/slref/unitdelay.html Unit Delay> block to get...

거의 14년 전 | 2

답변 있음
sample time error for simulink model consisting of xilinx block sets
The error appears to be pretty clear. Do you have a sample time of 1000000 anywhere in your model? You either need to reduce tha...

거의 14년 전 | 0

답변 있음
s-function error
In both mdlDerivatives and mdlOutputs, you have these lines: x = x(1); xdot = x(2); The first...

거의 14년 전 | 1

| 수락됨

답변 있음
I' m unable to run cpp code in Matlab using mex command. I'm getting following errors.
I think you should name your file with the .cpp extension if you have C++ code in it, so the compiler knows to treat it like one...

거의 14년 전 | 0

| 수락됨

답변 있음
generate C code from a simulink model for CCSv5 IDE?
I haven't done this personally, but I think the workflow for CCSv5 is the same as for CCSv4. Please see <http://www.mathworks.co...

거의 14년 전 | 0

답변 있음
Import data in Simulink
Sorry, your question is not very clear to me. Could you explain why the 'From File' and 'From Workspace' blocks didn't work - if...

거의 14년 전 | 0

| 수락됨

답변 있음
Saving Simulink variable to Matlab workspace
AFAIK, the "To Workspace" block logs the signal at each time-step. At the end of simulation, there is an array/structure with si...

거의 14년 전 | 1

답변 있음
Runtime in subsystem Simulink
From what I understand, you have a For Iterator system that runs for 96 iterations inside an Enabled Subsystem that is enabled a...

거의 14년 전 | 0

답변 있음
Disassociate Xilinx from MatLab
I'm guessing the Xilinx paths are still on the MATLAB path and need to be removed. Run "pathtool" from the MATLAB prompt and rem...

거의 14년 전 | 1

| 수락됨

답변 있음
Set Simulink block values from GUI in a running model using a RunTimeBlock?
As the error suggests, the RunTimeHandle.OutputPort(1).Data (or the Data property of any port) is read-only, so you cannot set i...

거의 14년 전 | 2

| 수락됨

답변 있음
Cannot locate RTW S-function from Simulink Coder: R2010a
Perhaps your colleague is running on a 32-bit machine or MATLAB installation? MEX-files are platform specific (basically, they a...

거의 14년 전 | 0

답변 있음
Transfer Function Problem in Simulink?
What you want to do is specify an Initial Condition(IC) to the block. Unfortunately, the transfer function block does not allow ...

거의 14년 전 | 1

| 수락됨

답변 있음
S-function error
Iman: I would recommend looking at some of Level-1 S-function demos. Type "sfundemos" at the MATLAB prompt and select MATLAB fil...

거의 14년 전 | 1

| 수락됨

답변 있음
S-function error
NumSampleTimes cannot be a fractional value. You need to change: sizes.NumSampleTimes = 0.05; to: sizes.NumSample...

거의 14년 전 | 4

| 수락됨

답변 있음
Sequential calling to SIMULINK from a time marching MATLAB simulation
Instead of calling SIM manually, I think a better approach might be to use one of three MATLAB <http://www.mathworks.com/help/to...

거의 14년 전 | 1

| 수락됨

답변 있음
Loading 64-bit National Instruments library in 64-bit Matlab
The "is not a valid Win32 application" error usually means that you are attempting to load a 32-bit DLL using 64-bit MATLAB. Per...

거의 14년 전 | 1

| 수락됨

답변 있음
'name.bat' is not recognized as an internal or external command, operable program or batch file in matlab
Have you run "mex -setup" on your R2012a installation? I have run into a similar issue in the past, and running "mex -setup" fix...

거의 14년 전 | 5

| 수락됨

답변 있음
Deploying Standalone Executable with No MCR
As you have already heard, the MCR is absolutely required to deploy executables generated using MATLAB Compiler. According to th...

거의 14년 전 | 0

| 수락됨

답변 있음
Reset Simulink model from m file
Using set_param(model, 'SimulationCommand', 'stop') followed by set_param(model, 'SimulationCommand', 'start') does restart the ...

거의 14년 전 | 3

| 수락됨

답변 있음
Mex Compiler error
Install a <http://www.mathworks.com/support/compilers/previous_releases.html supported compiler> by looking at the list for your...

거의 14년 전 | 0

답변 있음
Error: Real-Time Workshop Error: The nonfinite '-inf' is required but nonfinite support is not selected. Please enable nonfinite support.
I'm guessing that nonfinite numbers violate AUTOSAR compliance rules, which is why that option is disabled? The best course of a...

거의 14년 전 | 0

답변 있음
SIMULINK: Microphone input, how to?
If you have access to the DSP System Toolbox (formerly Signal Processing Blockset), you might be able to use the <http://www.mat...

거의 14년 전 | 1

답변 있음
variable cost function MPC toolbox
Your question is not entirely clear to me: "manipulated variable which I want to be used during night and remained turned off du...

거의 14년 전 | 2

답변 있음
reverse multiport switch
A similar question has been asked before. Please see: http://www.mathworks.com/matlabcentral/answers/38151-invert-multiport-swit...

거의 14년 전 | 0

| 수락됨

답변 있음
How to update variable in Workspace during simulation?
I'm assuming that you are using something like the To Workspace block to write data to the workspace? I explained a little in my...

거의 14년 전 | 1

답변 있음
Zero length license error in using MATLAB Compiler R2012a
Looks like this was a <http://www.mathworks.com/support/bugreports/624388 bug in R2009b and R2010a>. Perhaps you should contact ...

거의 14년 전 | 0

답변 있음
Matlab Coder Error: Cannot Process Options
You need to run the "codegen" command, not the "coder" command: >> codegen -args {0} HW -report

거의 14년 전 | 0

| 수락됨

답변 있음
Simulink - Change continuous state value at a given time point
I'm curious about why you chose to use continuous states instead of discrete states if you do not need the state to be integrate...

거의 14년 전 | 0

더 보기