Home
last modified time | relevance | path

Searched refs:matlab (Results 1 – 24 of 24) sorted by relevance

/petsc/src/vec/pf/impls/matlab/
H A Dcmatlab.c16 PF_Matlab *matlab = (PF_Matlab *)value; in PFView_Matlab() local
20 if (isascii) PetscCall(PetscViewerASCIIPrintf(viewer, "Matlab Matlab = %s\n", matlab->string)); in PFView_Matlab()
26 PF_Matlab *matlab = (PF_Matlab *)value; in PFDestroy_Matlab() local
29 PetscCall(PetscFree(matlab->string)); in PFDestroy_Matlab()
30 PetscCall(PetscMatlabEngineDestroy(&matlab->mengine)); in PFDestroy_Matlab()
31 PetscCall(PetscFree(matlab)); in PFDestroy_Matlab()
37 PF_Matlab *matlab = (PF_Matlab *)value; in PFApply_Matlab() local
41 PetscCall(PetscMatlabEnginePutArray(matlab->mengine, matlab->dimin, n, in, "x")); in PFApply_Matlab()
42 PetscCall(PetscMatlabEngineEvaluate(matlab->mengine, matlab->string)); in PFApply_Matlab()
43 PetscCall(PetscMatlabEngineGetArray(matlab->mengine, matlab->dimout, n, out, "f")); in PFApply_Matlab()
[all …]
/petsc/config/BuildSystem/config/packages/
H A DMatlab.py36 self.matlab = os.path.realpath(self.matlab)
37 yield os.path.dirname(os.path.dirname(self.matlab))
50 for matlab in self.generateGuesses():
51 self.log.write('Testing MATLAB at '+matlab+'\n')
52 interpreter = os.path.join(matlab,'bin','matlab')
60 self.log.write('WARNING: Found MATLAB at '+matlab+' but unable to run'+str(e)+'\n')
69 if not os.path.isdir(os.path.join(matlab,'extern','lib')):
70 self.log.write('WARNING:'+matlab+' is not the root directory for MATLAB\n')
73 self.matlab = matlab
74 ls = os.listdir(os.path.join(matlab,'extern','lib'))
[all …]
/petsc/src/dm/tests/
H A Dex12.m9 … MATLAB mex routines in ${PETSC_DIR}/share/petsc/matlab and ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/m…
10 % to create these run ./configure --with-matlab
12 % Make sure that ${PETSC_DIR}/share/petsc/matlab and ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/matlab i…
13 % $prefix/share/petsc/matlab and $prefix/lib/petsc/matlab if you ran ./configure with --prefix
/petsc/src/ksp/ksp/tutorials/
H A Dex41.m8 …the MATLAB mex routines in ${PETSC_DIR}/share/petsc/matlab and ${PETSC_DIR}/${PETSC_ARCH}/lib/matl…
9 % these require PETSc be configured with --with-matlab
10 % Make sure that ${PETSC_DIR}/share/petsc/matlab and ${PETSC_DIR}/${PETSC_ARCH}/lib/matlab is in y…
11 % $prefix/share/petsc/matlab and $prefix/lib/matlab if you ran ./configure with --prefix
/petsc/src/sys/classes/viewer/impls/socket/mex-scripts/
H A Dmakefile22 -@${MV} sread.mex* ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/matlab
27 -@${MV} swrite.mex* ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/matlab
32 -@${MV} sopen.mex* ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/matlab
37 -@${MV} sclose.mex* ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/matlab
/petsc/src/vec/vec/tutorials/
H A Dex42.m7 % Requires PETSc be configured with --with-matlab
10 % ${PETSC_DIR}/share/petsc/matlab and ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/matlab
/petsc/doc/manual/
H A Dmatlab.md17 …approaches one must `./configure` PETSc with the argument `--with-matlab [--with-matlab-dir=matlab…
58 in `$PETSC_DIR/share/petsc/matlab`. This requires less disk space and is
72 ```matlab
75 addpath('~/petsc/share/petsc/matlab');
105 `$PETSC_DIR/$PETSC_ARCH/lib/petsc/matlab` and
106 `$PETSC_DIR/share/petsc/matlab` are in the MATLAB path. Use
234 …https://www.mathworks.com/matlabcentral/answers/259627-how-do-i-activate-matlab-or-other-mathworks…
H A Dadditional.md10 matlab
H A Dts.md1367 `$PETSC_DIR/share/petsc/matlab/PetscReadBinaryTrajectory.m`.
H A Dksp.md2479 - ``matlab``
/petsc/share/petsc/matlab/@PetscOpenSocket/
H A Dclose.m5 % See $PETSC_DIR/share/petsc/matlab/@PetscOpenSocket/PetscOpenSocket.m
H A Dwrite.m5 % See $PETSC_DIR/share/petsc/matlab/@PetscOpenSocket/PetscOpenSocket.m
H A Dread.m5 % See $PETSC_DIR/share/petsc/matlab/@PetscOpenSocket/PetscOpenSocket.m
H A DPetscOpenSocket.m8 …urce for sopen(), sread() and sclose() is in $PETSC_DIR/src/sys/classes/viewer/impls/socket/matlab/
/petsc/src/vec/vec/tutorials/output/
H A Dex31_1.testout12 ans 1x1 8 matlab.settings.SettingsGroup
/petsc/doc/changes/
H A D35.md39 from bin/matlab to share/petsc/matlab
H A D2029.md168 - added the type PFMATLAB with -pf_type matlab -pf_matlab
H A D314.md65 - Change --with-matlabengine-lib= to --with-matlab-engine-lib= to
66 match --with-matlab-engine, print error message for deprecated
H A D300.md7 require a separate flag --with-matlab-engine
H A D34.md16 …[ascii,binary,draw,socket,matlab,vtk][:filename][:ascii_info,ascii_info_detail,ascii_matlab,draw_c…
/petsc/doc/overview/
H A Dlinear_solve_table.md304 - `MATLAB <https://www.mathworks.com/products/matlab.html>`__
/petsc/
H A Dmakefile78 …${PETSC_ARCH}/lib/petsc/matlab" ] ; then ${MKDIR} ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/matlab; fi;\
/petsc/doc/faq/
H A Dindex.md1137 require PETSc to be configured with --with-matlab.
1142 saved. See `share/petsc/matlab/PetscBinaryRead.m` and
1143 `share/petsc/matlab/PetscBinaryWrite.m` for loading and saving the objects in MATLAB.
1144 2. Using the [MATLAB Engine](https://www.mathworks.com/help/matlab/calling-matlab-engine-from-c-pro…
1151 `share/petsc/matlab/PetscReadBinary.m` for access from the MATLAB side.
/petsc/doc/
H A Dpetsc.bib14334 @Misc{ matlab-web-page,
24405 @Manual{ :pro-matlab,
29053 @TechReport{ ferris:matlab,
33957 @Book{ matlab:users,
37953 @Unpublished{ tseng:matlab,