Changes between Version 4 and Version 5 of MATLAB API
- Timestamp:
- 11/15/13 15:36:07 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MATLAB API
v4 v5 35 35 * MUSCLE_BOOLEAN 36 36 == Example == 37 {{{ 38 39 muscleInit() 40 41 fprintf('Kernel Name = %s\n', muscleKernelName()) 42 43 fprintf('has property "script"? = %d \n', muscleHasProperty('script')) 44 fprintf('Property[script] = %s \n', muscleGetProperty('script')) 45 fprintf('has property "not_existing"? = %d \n', muscleHasProperty('not_existing')) 46 47 dataA = [ 0.0, 1.0, 2.0, 3.0, 4.0 ] 48 49 muscleWillStop() 50 51 while not( muscleWillStop() ) 52 muscleSend('data', dataA) 53 end 54 55 muscleFinalize() 56 }}} 57 37 58 {{{ 38 59 Running both MUSCLE2 Simulation Manager and the Simulation