Beantwortet
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 ...

etwa 14 Jahre vor | 1

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 2

Beantwortet
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...

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 1

Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 2

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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 ...

etwa 14 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 4

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 1

| akzeptiert

Beantwortet
'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...

etwa 14 Jahre vor | 5

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 3

| akzeptiert

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

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 1

Beantwortet
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...

etwa 14 Jahre vor | 2

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

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 1

Beantwortet
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 ...

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

Mehr laden