I will run run code tonight. In the mean time, try this:
- In the line: NumberResults = zeros (1.1, 'double'); all the arguments must be separated by comas (1, 1, 'double').
- In the line: Obj = cellstr (''); use a space as an argument (' ')
- Did you use the methods...
SAP V15 and CSI bridge are not familiar to me. I use SAP V14.
But according to this http://www.facebook.com/note.php?note_id=206783049381568
You could use CSiBridge OAPI from Matlab, Excel, C#, etc. and then:
- Selectively get the results, a few elements at the time.
- Dispose the fields you...
cherifdj,
1. Explore the file SAP2000_API_Documentation.chm located on SAP2000 instalation folder.
2. Test Example code for Matlab.
3. Try to translate required VBA Examples (provided with all the functions). Be careful with syntax.
We will help you with the details.
Hi SinaPeugeot,
You can hide SAP2000 GUI from Matlab:
Visible = SapObject.Visible
You can also use the advanced solver:
SolverType = 1; % 0 = Standard 1 = Advanced
Force32BitSolver = false();
ret = SapModel.Analyze.SetSolverOption(SolverType, Force32BitSolver);
Running SAP2000 from one...
Hi SinaPeugeot,
Instead of creating one model, you can create and save hundreds of models. These models are then analyzed in SAP2000 using command line. To do this, create one or several batch files (a batch file is a text file with extension .bat) according to...
Hi SinaPeugeot,
I'm just an enthusiast.
Some tips to speed up your analyses according to my experience:
- To run a few hundreds of models using 100% of all your CPU's cores and threads is better to use several batch files calling SAP2000 from command line a lot of times each...
Try using .s2k (or .$2k) file.
Lets say that version 14.2.4 file was created in the computer A and the computer B has SAP v14.1.0 installed.
- Make sure computer B has the same regional configuration (decimal separator) of computer A. If it is not possible to check, take a look to the file...
newtonthegreat
It didn't work in my machine.
Sometimes to learn the syntax of other commands, I've tried reading data provided by GET method before using SET method. For example, try the method GetNonPrismatic in a existing file, so you can see the expected arguments to be used in the function...
In the closed thread
http://www.eng-tips.com/viewthread.cfm?qid=251179
khalilalloqa asked
"Hello, where could i find the VBA examples for sap verifications?"
For SAP2000 V14 they are located in one file in the path:
[Program files]\Computers and Structures\SAP2000...
Hi newtonthegreat,
If you define Value like this:
Value=zeros(6,1)
Value(1) = true;
Value(2) = true;
Value(3) = true;
Value(4) = true;
Value(5) = true;
Value(6) = true;
and then call "whos":
>> whos Value
Name Size Bytes Class Attributes
Value 6x1...