Community Profile

Patrick Tai


29 total contributions since 2009

Contact

Contributions in
View by

Responded


Re: UITree Usage
I am sorry, please explain further how to use uiTree with GUIDE: The function ABC_OutputFcn now has only these statements: % Ge...

5 years ago | 9306 views

Posted


MATLAB Coder fails to handle binoinv
I am trying out MATLAB Coder version 2 in MATLAB R2011a. I tried to build a C static-library; the build failed to call stats fu...

5 years ago | 1708 views

Posted


Coder does not support binoinv
I am trying out MATLAB Coder in MATLAB R2011a. My MATLAB code calls binoinv, and I found it is not supported when I tried to ge...

5 years ago | 4219 views

Responded


Re: MATLAB coder fails to handle randstream
Thank you Mike. rand('twister', seed) works, but rand('state',seed) does not. It is not supported by Coder. But thanks any way, ...

5 years ago | 3046 views

Posted


MATLAB coder fails to handle randstream
I tested the MATLAB Coder (version 2.0) in MATLAB R2011a. I used RandStream in my MATLAB code. When I made a mex file using Cod...

5 years ago | 3046 views

Posted


MATLAB Coder fails to handle exprnd
I tested the MATLAB coder (version 2.0). It fails if the MATLAB code has function exprnd when you build static library (lib). Th...

5 years ago | 2646 views

Responded


Re: Windows 7. Launch MATLAB graphs from C.
Steven Lord: Thanks. Do I need any toolbox besides the compiler to do this? For example, do I need the Builders? Thanks.

6 years ago | 1497 views

Posted


Windows 7. Launch MATLAB graphs from C.
I have MATLAB 2010B, installed on Windows 7. I have MATLAB functions launching graphs. How do I call these MATLAB functions from...

6 years ago | 1497 views

Responded


Re: deploying local parallel computing program
Thanks Richard Alcock. Do I understand you that the possible fix will be to treat the local cores as distributed workers and set...

6 years ago | 4955 views

Posted


deploying local parallel computing program
I am trying out the parallel computing toolbox on my computer which has 2 cores. MATLAB version is R2010B and my OS is Windows X...

6 years ago | 4955 views

Responded


Re: mcc R2010a error
I did contact TMW and posed the problem. They sent some diagnostics tools, which did not uncover the problem. However, I did sus...

6 years ago | 5242 views

Responded


Re: mcc R2010a error
Patrick adds more information: The function XYZ is a UI function generated by GUIDE, with an associated XYZ.fig The UI is compl...

6 years ago | 5242 views

Posted


mcc R2010a error
When I issue command: mcc -m XYZ.m I got error: "mcc has encountered a problem and has to close. ..." After submitting the error...

6 years ago | 5242 views

Responded


Re: mcc compilation error
Thanks Walter. This was fixed by adding '-a setprod' to the mcc command.

6 years ago | 3355 views

Responded


Re: mcc compilation error
This function works in MATLAB, but fails when compiled to a standalone exec: function y = testCompile x = {1, 2; 3, 4}; s = 'ce...

6 years ago | 3355 views

Posted


MCR failed to load in Windows 7
I have a stand-alone exe made with MATLAB R2009b and Windows XP SP2. This ran successfully in Window XP, but failed to run in Wi...

6 years ago | 6627 views

Posted


uitable: change column width
uitable is a wonderful tool in GUIDE. You can specify the column widths using the property colwidth for all the columns. However...

7 years ago | 2839 views

Posted


rich text in text field
I am using GUIDE for my UI work. (MATLAB 2009b) I would like to display some rich-text (font size change, bold, underline etc) ...

7 years ago | 1763 views

Responded


Re: GUIDE, menu texts too small
Thanks Adam: The problem is that the menu items do not appear on the GUIDE screen, and thus has no property menu to modify in GU...

7 years ago | 4626 views

Posted


GUIDE, menu texts too small
I am using GUIDE to make menu items, via the menu-editor, it worked well. However, I found the resulting menu and texts too smal...

7 years ago | 4626 views

Posted


findjobj failed in MATLAB 2009a
It appears that findjobj failed in MATLAB R2009a. I used GUIDE to set up a gui. Breaking point in the code, I called where h_o...

7 years ago | 28358 views

Posted


findjobj failed in MATLAB 2009a
It appears that findjobj failed in MATLAB R2009a. I used GUIDE to set up a gui. Breaking point in the code, I called where h_o...

7 years ago | 28358 views

Posted


uitable: change font size of column headers
The property inspector of the new uitable lists FontSize, FontName etc, but these refer to the display of the table body cells. ...

7 years ago | 2818 views

Posted


excel link: non-contiguous range not recognized
I have Spreadsheet link Ex 3.0.3, with ML 2009a I have been using the command MLPutMatrix(MLVar, ExcelRange) successfully when t...

7 years ago | 1667 views

Posted


excel link: non-contiguous range not recognized
I have Spreadsheet link Ex 3.0.3, with ML 2009a I have been using the command MLPutMatrix(MLVar, ExcelRange) successfully when t...

7 years ago | 1929 views

Responded


Re: uitable: copy/paste multiple cells
I found out one possible reason why multi-cell selection failed in my case: The cells in the table are editable. If I modified ...

7 years ago | 7088 views

Posted


uitable: copy/paste multiple cells
I am transitioning from Yair Altman's wonderful createTable to the new supported uitable. In the old function, I can copy and pa...

7 years ago | 7088 views

Responded


Re: Changing default table header for tables made with createTable?
Yair Altman: Thanks for suggestion. Using HTML scripts work. The problem is that copying and pasting the cells into Excel fail...

7 years ago | 7380 views

Responded


Re: Changing default table header for tables made with createTable?
Dear Yair Altman: I have been using your createTable function for a while and I found it very useful. Thank you very much. I wi...

7 years ago | 7380 views