Answered
How to write a function of a curve?
Hi, try an anonymous function. <http://www.mathworks.com/help/matlab/matlab_prog/anonymous-functions.html> So for examp...

13 years ago | 2

| accepted

Answered
Anyone have Java implementation for Matlab functions?
Hi, this could be worth a shot: use MATLAB Coder to generate C code out of your MATLAB code. Then use some ARM compiler an...

13 years ago | 1

| accepted

Answered
renaming files to easily read it in to matlab problematic
Hi, why renaming them? This is not needed. Use the dir command to get a struct array which contains also the filenames: ...

13 years ago | 1

| accepted

Answered
How can I use visdiff correctly?
Hi, sounds like a messed up ML search path. Try running: restoredefaultpath; matlabrc After that try again. Normal...

13 years ago | 1

| accepted

Answered
Structure declaration in Matlab
Hi, I dont have a MATLAB for testing at the moment but I guess the declaration should look like this: estruct = struct...

13 years ago | 0

| accepted

Answered
How can I define which .Net framework shall a deployed MATLAB function use?
Hi, first of all this is expected behavior due some .NET Security Policies. The MCR load the 2.0 CLR which then needs to load...

13 years ago | 2

| accepted

Answered
coder.ceval('printf',....) does not print a message instantaneously
Hi, as long you stay with mex you can do a mexEvalString("drawnow"); So a coder.ceval('mexEvalString', '"dr...

13 years ago | 0

| accepted

Answered
How to deploy package that calls an external .m file
This wont work at all. MATLAB Compiler generated exe's can't read/use plain m files. The only way to have interchangeable dat...

13 years ago | 0

| accepted

Answered
normalize a maatrix of 13 columns
Hi, I think this should do it: bsxfun(@rdivide,A,sqrt(sum(A.*A,1))) So looking at an easy example: A = [1 2 3;...

13 years ago | 1

| accepted

Answered
Does setenv not set variables for MEX functions?
Hi, I think the following Microsoft statement should help here: "getenv and _putenv use the copy of the environment ...

13 years ago | 4

| accepted

Answered
C# .NET Trouble initializing libraries required by Builder NE
Hi, normally one would create a .exe.config file with the same name as your application and put in the following lines: ...

13 years ago | 1

| accepted

Answered
Time limit for the Exclamation Point — !
Hi, which OS are you on? On windows you can use activex and the WScript.Shell component to set a timeout and cancel the star...

13 years ago | 0

| accepted

Answered
Forcing deploytool to include toolbox.
Hi, Simulink and all other Toolboxes which are based on Simulink can't be compiled with ML Compiler: <http://www.mathworks...

13 years ago | 1

| accepted

Answered
Matlab Compiler - Invalid MEX-file for 'sqp' in optimization toolbox
Hi, @Kaustubha: very unlikely. If the function is missing you would get an unkown function error!!! Seems more like a miss...

13 years ago | 2

| accepted

Answered
Binary to Signed decimal in MATLAB
Hi, can't you simply do the inverse way to get it back? Or am I missing something here? typecast(uint16(bin2dec('1000000...

13 years ago | 2

| accepted

Answered
replicate values of a vector
Hi, try repmat: repmat(A,4,1) Or for the other direction: repmat(A,1,4) In the case you want it repeated lik...

13 years ago | 0

| accepted

Answered
Excel help
Hi, at least this works fine for me: x = [2 6 7 13 27 100] xlswrite('test.xlsx',{num2str(x)}) [~,data] = xlsread...

13 years ago | 0

| accepted

Answered
Mex Compiler Setup
Hi, VS 2008 Express isnt supported by 11b: <http://www.mathworks.com/support/compilers/R2011b/win32.html> So what did y...

13 years ago | 1

| accepted

Answered
Please help!
Hi, please preallocate the output variables first, because the first appearance of nest is in a loop where you populate it, ...

13 years ago | 0

| accepted

Answered
reading external data via com port or parallel port
Hi, have you tried the serial command? <http://www.mathworks.com/help/releases/R2012a/techdoc/ref/serial.html>

13 years ago | 1

| accepted

Answered
mcc or standalone simulation error
Hi, this is a bug, see here for a workaround: <http://www.mathworks.com/support/bugreports/764094>

13 years ago | 1

| accepted

Answered
extract numbers from string in a cell
Hi, you can use regexprep or some ascii value representation comparison to do so, e.g. a = {'TT21abc.def'}; %asci...

13 years ago | 1

| accepted

Answered
Launch MCR in a C# code
Hi again, Since you have an installed MATLAB and working with C#, why arent you using COM directly? This makes it a way easie...

13 years ago | 0

| accepted

Answered
Set Excel cell interior color to RGB value
Hi, try the following: rgb_val = @(r,g,b) r*1+g*256+b*256^2; WB.Worksheets.Item(1).Range('A2').Interior.Color = rgb_v...

13 years ago | 0

| accepted

Answered
To translate TriScatteredInterp from Matlab to C# or C++
Hi, besides of that error message. Don't even try to generate a mex file from that code because TriScatteredInterp isn't supp...

13 years ago | 1

| accepted

Answered
Make error because of MATLAB function block.
Hi, run mex -setup to choose a supported installed compiler ( <http://www.mathworks.com/support/compilers/R2011a/win32.html> ...

13 years ago | 0

| accepted

Answered
executable form of m-file
Hi, you need the MATLAB Compiler for it: <http://www.mathworks.com/products/compiler/> Beware of the limitations: <h...

14 years ago | 1

Answered
MATLAB error in counting
Hi num2str is correct here, but the missing space after the 2 makes the result looking wrong, because the correct number 1537...

14 years ago | 0

| accepted

Answered
How to get Tabpanel constructor v2.8 running?
Hi, seems like a small typo. Try tabpanel instead of panel with two a's.

14 years ago | 1

Answered
2012a Does Not Install
Hi, please contact the installation support from MathWorks. They will help you.

14 years ago | 1

| accepted

Load more