已回答
how to build a new matrix with reference to the index of another matrix ?
Hi, try this A = [ 0 0 -1.5572 0.2352 0 0 -3.2616 0 0 5.1371 ...

10 years 前 | 0

| 已接受

已回答
mex function linking to BLAS
Hi, take a look at the blas.h and lapack.h files in the extern\include subfolder of your MATLAB installation.

10 years 前 | 0

| 已接受

已回答
why windows SDKs 7.1 is not detected at 'mex -setup' execution?
Hi, this points to an incomplete installation. Follow <http://www.mathworks.com/matlabcentral/answers/101105 this> guide. In ...

10 years 前 | 0

| 已接受

已回答
How to avoid duplicate running of Matlab Standalone Exe Application
Hi, you could use the DOS function <http://technet.microsoft.com/en-us/library/bb491010.aspx tasklist>: [~,b] = syst...

11 years 前 | 0

| 已接受

已回答
Error code 0x800A03EC when using xlswrite
Hi, its all about the extension. Don't use .xls extension because its inherits the row limitations of Excel 2003 which is ar...

11 years 前 | 7

| 已接受

已回答
Segmentation violation detected at Thu Feb 06 14:12:45 2014
Hi, seems like a graphic card driver issue. I guess you are wokring with figures/plots. Can you try updating your graphic ...

11 years 前 | 0

| 已接受

已回答
ButtonDownFcn does not work
Hi, in line 120 you do axis(S.canvas, 'off'); which results in the ButtonDownFcn has no effect. Try using this instea...

11 years 前 | 0

| 已接受

已回答
Session-based DAQ: logging data to disk directly from the device
Hi, Unfortunately logging to disk is not available in the session based interface.

11 years 前 | 0

| 已接受

已回答
Create and write t an .m file from MATLAB script
Hi, take a look at the documentation for fopen, it states: "fileID = fopen(filename) opensthe file, filename, for binar...

11 years 前 | 0

| 已接受

已回答
calling c file from m file
Hi, have you taken a look at the readme contained in that TB? Because it tells you what to do: Note: There are thr...

11 years 前 | 0

| 已接受

已回答
How can I detect end of lines in a output string of a dos command?
Hi, try lines = regexp(cmdout,'\n','split') Or lines = textscan(cmdout,'%s','delimiter','\n') However you wil...

11 years 前 | 1

| 已接受

已回答
Connecting to Teradata Database
Hi, what happens if you try conn = database('test_dal','USER','PASS','com.teradata.jdbc.TeraDriver','jdbc:teradata://SER...

11 years 前 | 0

已回答
What's the status of 64-bit MATLAB support for ODBC?
Hi, please note that this is not a MATLAB limitation. An ODBC drive is a DLL (so a native library) which needs to get loaded ...

11 years 前 | 1

| 已接受

已回答
I have a table of data in form of .txt file, I have imported using the textscan function,now it is taking whole row of data as a string, what if I want to access to each word individually,Please let me know with alternatives ,Thanks
Hi, you can use fid = fopen('data.txt','r') header = textscan(fid,'%s%s%s%s',1,'delimiter',' ') data = textscan(fi...

11 years 前 | 0

| 已接受

已回答
How to close a .mat file
The load command should do that automatically. Load open the file, reads the data and closes the file aftwards. So there is no n...

11 years 前 | 0

已回答
Compilation using MEX failed! (Run 'mex -setup' to configure your C++ compiler)
HI, the error you get "Compilation using MEX failed!" seems like a self thrown error. Take a look at the actual mex call whic...

11 years 前 | 0

| 已接受

已回答
Saving text and data to an excel file
Hi, try xlswrite('out.xlsx',[a;num2cell(b)])

11 years 前 | 0

| 已接受

已回答
Calling MATLAB functions in Visual Basic
Hi, # you can't. You would need to send over the RGB image data from VB to MATLAB, e.g. by using the PutWorkspaceData method ...

11 years 前 | 0

| 已接受

已回答
How to Create an executable file for Simulink model?
HI, check his <http://www.mathworks.com/matlabcentral/answers/97161-how-can-i-create-a-deployable-standalone-executable-from-...

11 years 前 | 0

| 已接受

已回答
how to convert mxChar to char?
Have you tried using mxGetString instead of mxGetChars? int mxGetString(const mxArray *pm, char *str, mwSize strlen);

11 years 前 | 0

已回答
Creare table in txt file
Hi, try this: p=fopen('risultato.txt', 'w'); fprintf(p,'%d\t%d\n',[x;y]); fclose(p);

11 years 前 | 1

已回答
how to unzip files using external unzip software?
Hi, I would use JAVA to get what you want, e.g. the following example extract the .txt files in a zip files only (done with R...

11 years 前 | 1

| 已接受

已回答
Excel's named range through Matlab
Hi, this is not possible using xlswrite. You have to do that programatically afterwards using COM/ActiveX, e.g. ex =...

11 years 前 | 1

| 已接受

已回答
Include function in gui m-file or separate them?
According to <http://www.mathworks.com/matlabcentral/answers/99537 this> the performance shoul dbe the same.

11 years 前 | 0

| 已接受

已回答
ERROR WITH HELP IN WINDOWS 8.1..I installed matlab r2013a in windows 8.1. When i open the help window the information there is not organized and it is overlapped. It worked fine with windows 8.please help me. I am attaching a screenshot
Hi, have you taken a look at this <http://www.mathworks.com/matlabcentral/answers/84898-r2013a-on-windows-8-and-8-1-help-docu...

11 years 前 | 1

| 已接受

已回答
R2013a on Windows 8 and 8.1 - help/documentation pages garbled and ugly (lack CSS)
Hi, It's all covered by MathWorks <http://www.mathworks.com/support/bugreports/989850 here>.

11 years 前 | 2

| 已接受

已回答
When interfacing with .NET, how do I use unmanaged DLLs that are located in the assembly folder?
Hi, you can edit the PATH locally for MATLAB only with the setenv command: setenv('PATH',[getenv('PATH'),';C:\your folde...

11 years 前 | 1

| 已接受

已回答
I can not find the invisible figure when I used the ::FindWindow function in My Windows application
Hi, an invisble MATLAB figure does not get a Window Handle, so thats why you cannot find it. You can obtain that by testin...

11 years 前 | 0

已回答
Successfully compiled a GUI with no Errors but the executable file doesn't run
Hi, sounds like you compiled a standalone application which throws a MATLAB error whichs is not displayed because there is no...

11 years 前 | 0

| 已接受

已回答
Error creating a standalone application
Hi, sounds like your MATLAB search path is broken. You can restore it by running: >>restoredefaultpath >>matlabrc...

11 years 前 | 0

加载更多